private void CheckEventUnsubscribe(BinaryExpression node, IEvent eventInfo) { var expected = ((ICallableType)eventInfo.Type).GetSignature(); var actual = GetCallableSignature(node.Right); if (expected != actual) { Warnings.Add( CompilerWarningFactory.InvalidEventUnsubscribe(node, eventInfo, expected)); } }