62 instantiations of CodeMethodInvokeExpression
dotnet-svcutil-lib (62)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (6)
216new CodeMethodInvokeExpression(new CodeVariableReferenceExpression("nodesList"), "GetEnumerator")); 223CodeMethodInvokeExpression codeWrite = new CodeMethodInvokeExpression(iXmlSerCast, "WriteXml", new CodeVariableReferenceExpression("writer")); 226codeFor.TestExpression = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeVariableReferenceExpression("e"), "MoveNext")); 266CodeMethodInvokeExpression codeRead = new CodeMethodInvokeExpression(iXmlSerCast, "ReadXml", new CodeVariableReferenceExpression("reader")); 269new CodeMethodInvokeExpression( 278CodeMethodInvokeExpression skip = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeVariableReferenceExpression("reader"), "Skip"));
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (2)
53new CodeMethodInvokeExpression( 75return new CodeMethodInvokeExpression()
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (5)
129new CodeMethodInvokeExpression() 168new CodeMethodInvokeExpression() 199new CodeMethodInvokeExpression() 379property.GetStatements.Add(new CodeMethodInvokeExpression(new CodeBaseReferenceExpression(), "RaiseExceptionIfNecessary")); 465new CodeMethodInvokeExpression()
CodeDomFixup\ConfigToCode.cs (15)
77new CodeMethodInvokeExpression( 87new CodeMethodInvokeExpression( 92ctor.Statements.Add(new CodeMethodInvokeExpression( 192new CodeMethodInvokeExpression( 196new CodeMethodInvokeExpression( 219new CodeMethodInvokeExpression( 224new CodeMethodInvokeExpression( 249new CodeMethodInvokeExpression( 278new CodeMethodInvokeExpression( 322new CodeMethodInvokeExpression( 326new CodeMethodInvokeExpression( 349new CodeMethodInvokeExpression( 354new CodeMethodInvokeExpression( 378new CodeMethodInvokeExpression( 405new CodeMethodInvokeExpression(
CodeDomFixup\MethodCreationHelper.cs (19)
611new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWSFederationTokenParameters", 620new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWSFederationTokenParameters", 815new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWS2007FederationTokenParameters", 824new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWS2007FederationTokenParameters", 1097new CodeMethodInvokeExpression( 1108new CodeMethodInvokeExpression( 1123new CodeMethodInvokeExpression( 1192new CodeMethodInvokeExpression( 1287new CodeMethodInvokeExpression( 1342new CodeMethodInvokeExpression( 1414new CodeMethodInvokeExpression( 1425new CodeMethodInvokeExpression( 1467new CodeMethodInvokeExpression( 1509new CodeMethodInvokeExpression( 1609new CodeMethodInvokeExpression( 2190new CodeMethodInvokeExpression( 2200new CodeMethodInvokeExpression( 2215new CodeMethodInvokeExpression( 2225new CodeMethodInvokeExpression(
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
370prop.SetStatements.Add(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(name)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (6)
1590setNode.Right = new CodeMethodInvokeExpression( 1611new CodeMethodInvokeExpression( 1647new CodeMethodInvokeExpression( 1759left = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(Globals.TypeOfObject), 1764left = new CodeMethodInvokeExpression(left, "Equals", new CodeExpression[] { right }); 1769ifStatement.TrueStatements.Add(new CodeMethodInvokeExpression(ThisReference, RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(propertyName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (8)
267CodeMethodInvokeExpression invokeMethod = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeCastExpression(ifaceType, new CodeThisReferenceExpression()), method.Name)); 458CodeMethodInvokeExpression methodInvoke = new CodeMethodInvokeExpression(GetChannelReference(), method.Name); 608property.GetStatements.Add(new CodeMethodInvokeExpression(new CodeBaseReferenceExpression(), s_raiseExceptionIfNecessaryMethodName)); 665CodeMethodInvokeExpression invokeBegin = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), beginMethod.Name); 714CodeMethodInvokeExpression invokeEnd = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), endMethod.Name); 730variableDecl.InitExpression = new CodeMethodInvokeExpression(getDefaultValueMethodRef); 868CodeMethodInvokeExpression invokeAsync = new CodeMethodInvokeExpression(new CodeBaseReferenceExpression(), s_invokeAsyncMethodName); 895CodeMethodInvokeExpression invokeEventAsyncMethod = new CodeMethodInvokeExpression(
27 references to CodeMethodInvokeExpression
dotnet-svcutil-lib (27)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (4)
223CodeMethodInvokeExpression codeWrite = new CodeMethodInvokeExpression(iXmlSerCast, "WriteXml", new CodeVariableReferenceExpression("writer")); 266CodeMethodInvokeExpression codeRead = new CodeMethodInvokeExpression(iXmlSerCast, "ReadXml", new CodeVariableReferenceExpression("reader")); 268CodeMethodInvokeExpression addNode = 278CodeMethodInvokeExpression skip = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeVariableReferenceExpression("reader"), "Skip"));
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
73private CodeMethodInvokeExpression GenerateBeginMethodInvokeExpression(string methodName)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
310protected override void Visit(CodeMethodInvokeExpression expr) 617else if (expr is CodeMethodInvokeExpression) 618Visit((CodeMethodInvokeExpression)expr); 660protected virtual void Visit(CodeMethodInvokeExpression expr) { }
CodeDomFixup\CodeDomVisitors\MakeOldAsyncMethodsPrivate.cs (1)
70protected override void Visit(CodeMethodInvokeExpression methodInvoke)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
760else if (e is CodeMethodInvokeExpression) 762GenerateMethodInvokeExpression((CodeMethodInvokeExpression)e); 1687protected abstract void GenerateMethodInvokeExpression(CodeMethodInvokeExpression e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
773else if (e is CodeMethodInvokeExpression) 775ValidateMethodInvokeExpression((CodeMethodInvokeExpression)e); 924private void ValidateMethodInvokeExpression(CodeMethodInvokeExpression e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
1076private void GenerateMethodInvokeExpression(CodeMethodInvokeExpression e) 1905else if (e is CodeMethodInvokeExpression) 1907GenerateMethodInvokeExpression((CodeMethodInvokeExpression)e);
FrameworkFork\Microsoft.CodeDom\System\CodeMethodInvokeExpression.cs (2)
31/// Initializes a new instance of <see cref='Microsoft.CodeDom.CodeMethodInvokeExpression'/>. 40/// Initializes a new instance of <see cref='Microsoft.CodeDom.CodeMethodInvokeExpression'/> using the specified target object, method name
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (6)
267CodeMethodInvokeExpression invokeMethod = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeCastExpression(ifaceType, new CodeThisReferenceExpression()), method.Name)); 458CodeMethodInvokeExpression methodInvoke = new CodeMethodInvokeExpression(GetChannelReference(), method.Name); 665CodeMethodInvokeExpression invokeBegin = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), beginMethod.Name); 714CodeMethodInvokeExpression invokeEnd = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), endMethod.Name); 868CodeMethodInvokeExpression invokeAsync = new CodeMethodInvokeExpression(new CodeBaseReferenceExpression(), s_invokeAsyncMethodName); 895CodeMethodInvokeExpression invokeEventAsyncMethod = new CodeMethodInvokeExpression(