51 references to CodeMethodInvokeExpression
dotnet-svcutil-lib (51)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (3)
216
new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression("nodesList"), "GetEnumerator"));
223
CodeMethodInvokeExpression codeWrite = new
CodeMethodInvokeExpression
(iXmlSerCast, "WriteXml", new CodeVariableReferenceExpression("writer"));
266
CodeMethodInvokeExpression codeRead = new
CodeMethodInvokeExpression
(iXmlSerCast, "ReadXml", new CodeVariableReferenceExpression("reader"));
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
53
new
CodeMethodInvokeExpression
(
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
379
property.GetStatements.Add(new
CodeMethodInvokeExpression
(new CodeBaseReferenceExpression(), "RaiseExceptionIfNecessary"));
CodeDomFixup\ConfigToCode.cs (14)
77
new
CodeMethodInvokeExpression
(
87
new
CodeMethodInvokeExpression
(
192
new
CodeMethodInvokeExpression
(
196
new
CodeMethodInvokeExpression
(
219
new
CodeMethodInvokeExpression
(
224
new
CodeMethodInvokeExpression
(
249
new
CodeMethodInvokeExpression
(
278
new
CodeMethodInvokeExpression
(
322
new
CodeMethodInvokeExpression
(
326
new
CodeMethodInvokeExpression
(
349
new
CodeMethodInvokeExpression
(
354
new
CodeMethodInvokeExpression
(
378
new
CodeMethodInvokeExpression
(
405
new
CodeMethodInvokeExpression
(
CodeDomFixup\MethodCreationHelper.cs (19)
611
new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWSFederationTokenParameters",
620
new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWSFederationTokenParameters",
815
new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWS2007FederationTokenParameters",
824
new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(typeof(System.ServiceModel.Federation.WSTrustTokenParameters)), "CreateWS2007FederationTokenParameters",
1097
new
CodeMethodInvokeExpression
(
1108
new
CodeMethodInvokeExpression
(
1123
new
CodeMethodInvokeExpression
(
1192
new
CodeMethodInvokeExpression
(
1287
new
CodeMethodInvokeExpression
(
1342
new
CodeMethodInvokeExpression
(
1414
new
CodeMethodInvokeExpression
(
1425
new
CodeMethodInvokeExpression
(
1467
new
CodeMethodInvokeExpression
(
1509
new
CodeMethodInvokeExpression
(
1609
new
CodeMethodInvokeExpression
(
2190
new
CodeMethodInvokeExpression
(
2200
new
CodeMethodInvokeExpression
(
2215
new
CodeMethodInvokeExpression
(
2225
new
CodeMethodInvokeExpression
(
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
370
prop.SetStatements.Add(new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(name)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (6)
1590
setNode.Right = new
CodeMethodInvokeExpression
(
1611
new
CodeMethodInvokeExpression
(
1647
new
CodeMethodInvokeExpression
(
1759
left = new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(Globals.TypeOfObject),
1764
left = new
CodeMethodInvokeExpression
(left, "Equals", new CodeExpression[] { right });
1769
ifStatement.TrueStatements.Add(new
CodeMethodInvokeExpression
(ThisReference, RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(propertyName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (6)
458
CodeMethodInvokeExpression methodInvoke = new
CodeMethodInvokeExpression
(GetChannelReference(), method.Name);
608
property.GetStatements.Add(new
CodeMethodInvokeExpression
(new CodeBaseReferenceExpression(), s_raiseExceptionIfNecessaryMethodName));
665
CodeMethodInvokeExpression invokeBegin = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), beginMethod.Name);
714
CodeMethodInvokeExpression invokeEnd = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), endMethod.Name);
868
CodeMethodInvokeExpression invokeAsync = new
CodeMethodInvokeExpression
(new CodeBaseReferenceExpression(), s_invokeAsyncMethodName);
895
CodeMethodInvokeExpression invokeEventAsyncMethod = new
CodeMethodInvokeExpression
(