void ProcessEventInvocation(MethodInvocationExpression node, IEvent ev) { NamedArgumentsNotAllowed(node); if (!EnsureInternalEventInvocation(ev, node)) return; IMethod method = ev.GetRaiseMethod(); if (AssertParameters(node, method, node.Arguments)) { node.Target = CodeBuilder.CreateMemberReference( ((MemberReferenceExpression)node.Target).Target, method); BindExpressionType(node, method.ReturnType); } }