163 references to CodeMethodInvokeExpression
PresentationBuildTasks (5)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (5)
1017
CodeMethodInvokeExpression cmieAdd = new
CodeMethodInvokeExpression
(cpreSetters, ADD, cvreES);
1800
CodeMethodInvokeExpression cmie = new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
1939
CodeMethodInvokeExpression cmieAddHandler = new
CodeMethodInvokeExpression
(ce, ADDHANDLER, cfreEvent, cDelExp);
1998
CodeMethodInvokeExpression cmieOnEvent = new
CodeMethodInvokeExpression
(null, cmmEventHandler.Name);
3211
CodeMethodInvokeExpression cmieShowSplashScreen = new
CodeMethodInvokeExpression
(cvreAppSplash, "Show", new CodePrimitiveExpression(true));
System.Activities (3)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
1510
CodeMethodInvokeExpression invokeExpression = new
CodeMethodInvokeExpression
(
1867
CodeMethodInvokeExpression baseSetLocationsOffsetMethod = new
CodeMethodInvokeExpression
(
1993
new
CodeMethodInvokeExpression
(
System.Data (3)
fx\src\data\System\Data\CodeGen\datacache.cs (3)
1455
return new
CodeMethodInvokeExpression
(targetObject, methodName, parameters);
1459
return new
CodeMethodInvokeExpression
(targetObject, methodName);
1463
return new
CodeMethodInvokeExpression
(targetObject, methodName, new CodeExpression[] {par});
System.Data.Entity.Design (13)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (2)
559
viewTextExpression = new
CodeMethodInvokeExpression
(GetViewStringBuilderVariable(), "ToString");
623
return new
CodeMethodInvokeExpression
(
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
447
new
CodeMethodInvokeExpression
(
666
return (new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), _onContextCreatedString, new CodeExpression[] { }));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (8)
242
new
CodeMethodInvokeExpression
(
267
new
CodeMethodInvokeExpression
(
307
new
CodeMethodInvokeExpression
(
313
new
CodeMethodInvokeExpression
(
369
new
CodeMethodInvokeExpression
(
376
new
CodeMethodInvokeExpression
(
488
new
CodeMethodInvokeExpression
(
526
new
CodeMethodInvokeExpression
(
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
217
new
CodeMethodInvokeExpression
(
System.Data.Services.Design (17)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
829
eventArgs.AdditionalAfterSetStatements.Add(new CodeExpressionStatement(new
CodeMethodInvokeExpression
(
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (13)
278
new
CodeMethodInvokeExpression
(
285
new
CodeMethodInvokeExpression
(
287
new
CodeMethodInvokeExpression
(
294
new
CodeMethodInvokeExpression
(
298
new
CodeMethodInvokeExpression
(
337
new
CodeMethodInvokeExpression
(
347
new
CodeMethodInvokeExpression
(
372
new
CodeMethodInvokeExpression
(
421
rootNamespaceField.InitExpression = new
CodeMethodInvokeExpression
(
424
new
CodeMethodInvokeExpression
(
436
return new
CodeMethodInvokeExpression
(
611
new
CodeMethodInvokeExpression
(
629
return (new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), _onContextCreatedString, new CodeExpression[] { }));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
291
new
CodeMethodInvokeExpression
(FieldRef, "Clone")
338
new
CodeMethodInvokeExpression
(
378
new
CodeMethodInvokeExpression
(
System.Management (35)
WmiGenerator.cs (35)
2961
cmie = new
CodeMethodInvokeExpression
(
3060
cmie = new
CodeMethodInvokeExpression
(
3208
cmie = new
CodeMethodInvokeExpression
(
3369
cmie = new
CodeMethodInvokeExpression
(
3400
cmie = new
CodeMethodInvokeExpression
(
3433
cmie = new
CodeMethodInvokeExpression
(
3591
cmie = new
CodeMethodInvokeExpression
(
3623
cmie = new
CodeMethodInvokeExpression
(
3731
coce.Parameters.Add(new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(strObjectSearcher),
3836
cmie = new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(TypeDescriptorClass),"GetConverter");
3862
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"CanConvertFrom");
3886
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"CanConvertTo");
3911
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"ConvertFrom");
3936
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"CreateInstance");
3958
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"GetCreateInstanceSupported");
3981
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"GetProperties");
4002
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"GetPropertiesSupported");
4021
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"GetStandardValues");
4040
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"GetStandardValuesExclusive");
4059
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"GetStandardValuesSupported");
4115
cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(baseTypeMemberVariable),"ConvertTo");
4147
cboe2.Left = new
CodeMethodInvokeExpression
(
4168
cmie = new
CodeMethodInvokeExpression
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"PropertyDescriptor"),"ShouldSerializeValue");
4233
cmie = new
CodeMethodInvokeExpression
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"PropertyDescriptor"),"ShouldSerializeValue");
4265
cmie = new
CodeMethodInvokeExpression
(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"PropertyDescriptor"),"ShouldSerializeValue");
4411
cmie = new
CodeMethodInvokeExpression
(
4436
cmie = new
CodeMethodInvokeExpression
(
4440
CodeMethodInvokeExpression cmie1 = new
CodeMethodInvokeExpression
(
4472
coce.Parameters.Add(new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(strObjectCollection),"GetEnumerator"));
4595
cmie = new
CodeMethodInvokeExpression
(
4613
cmie = new
CodeMethodInvokeExpression
(
5524
cmie = new
CodeMethodInvokeExpression
(
5597
cmie = new
CodeMethodInvokeExpression
(
5665
CodeMethodInvokeExpression cmie2 = new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression("System.String"),
7827
CodeMethodInvokeExpression cmie = new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression("System.String"),
System.Runtime.Serialization (9)
System\Runtime\Serialization\CodeExporter.cs (9)
1674
setNode.Right = new
CodeMethodInvokeExpression
(
1694
new
CodeMethodInvokeExpression
(
1730
new
CodeMethodInvokeExpression
(
1824
getEnumerator.InitExpression = new
CodeMethodInvokeExpression
(
1844
addValue.Expression = new
CodeMethodInvokeExpression
(
1851
loop.TestExpression = new
CodeMethodInvokeExpression
(
1962
left = new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(Globals.TypeOfObject),
1967
left = new
CodeMethodInvokeExpression
(left, "Equals", new CodeExpression[] { right });
1972
ifStatement.TrueStatements.Add(new
CodeMethodInvokeExpression
(ThisReference, RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(propertyName)));
System.ServiceModel (6)
System\ServiceModel\Description\ClientClassGenerator.cs (6)
458
CodeMethodInvokeExpression methodInvoke = new
CodeMethodInvokeExpression
(GetChannelReference(), method.Name);
609
property.GetStatements.Add(new
CodeMethodInvokeExpression
(new CodeBaseReferenceExpression(), raiseExceptionIfNecessaryMethodName));
666
CodeMethodInvokeExpression invokeBegin = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), beginMethod.Name);
715
CodeMethodInvokeExpression invokeEnd = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), endMethod.Name);
869
CodeMethodInvokeExpression invokeAsync = new
CodeMethodInvokeExpression
(new CodeBaseReferenceExpression(), invokeAsyncMethodName);
896
CodeMethodInvokeExpression invokeEventAsyncMethod = new
CodeMethodInvokeExpression
(
System.Web (42)
Compilation\AppSettingsExpressionBuilder.cs (2)
31
return new
CodeMethodInvokeExpression
(
37
return new
CodeMethodInvokeExpression
(
Compilation\BaseCodeDomTreeGenerator.cs (1)
644
CodeMethodInvokeExpression getObject = new
CodeMethodInvokeExpression
(stateObj, "GetObject");
Compilation\BaseTemplateCodeDomTreeGenerator.cs (17)
138
CodeMethodInvokeExpression methCallExpression = new
CodeMethodInvokeExpression
(
324
CodeMethodInvokeExpression applyStyleSheetExpr = new
CodeMethodInvokeExpression
(ctrlRefExpr, applyStyleSheetMethodName);
396
methCallExpression = new
CodeMethodInvokeExpression
(ctrlRefExpr, "InitializeAsUserControl");
424
methCallExpression = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "InitializeCulture");
500
CodeMethodInvokeExpression removeExpr = new
CodeMethodInvokeExpression
(contentTemplatesFieldRef, "Remove");
520
instantiateTemplateExpr = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "InstantiateInContentPlaceHolder");
525
instantiateTemplateExpr = new
CodeMethodInvokeExpression
(templateFieldRef, "InstantiateIn");
566
CodeMethodInvokeExpression cmiExpression = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "AddContentTemplate");
599
methCallExpression = new
CodeMethodInvokeExpression
(ctrlRefExpr, "SetStaticString");
624
methCallExpression = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(),
792
methCallExpression = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(),
810
methCallExpression = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(),
821
methCallExpression = new
CodeMethodInvokeExpression
(ctrlRefExpr, "Add");
908
methCallExpression = new
CodeMethodInvokeExpression
(ctrlRefExpr, "SetRenderMethodDelegate");
1062
CodeMethodInvokeExpression findControlCallExpression = new
CodeMethodInvokeExpression
(
1317
CodeMethodInvokeExpression methCallExpression = new
CodeMethodInvokeExpression
(
1758
CodeMethodInvokeExpression methCallExpression = new
CodeMethodInvokeExpression
(
Compilation\CodeDOMUtility.cs (3)
133
CodeMethodInvokeExpression methCall = new
CodeMethodInvokeExpression
(BuildGlobalCodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
184
CodeMethodInvokeExpression methCall = new
CodeMethodInvokeExpression
(BuildGlobalCodeTypeReferenceExpression(valueType.FullName), "Parse");
204
CodeMethodInvokeExpression methCall = new
CodeMethodInvokeExpression
(BuildGlobalCodeTypeReferenceExpression(valueType.FullName), "Parse");
Compilation\ConnectionStringsExpressionBuilder.cs (2)
58
return new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(this.GetType()), "GetConnectionString", new CodePrimitiveExpression(name));
61
return new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(this.GetType()), "GetConnectionStringProviderName", new CodePrimitiveExpression(name));
Compilation\MasterPageCodeDomTreeGenerator.cs (1)
35
stmt.Expression = new
CodeMethodInvokeExpression
(propertyExpr, "Add", new CodePrimitiveExpression(placeHolderID.ToLower(CultureInfo.InvariantCulture)));
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
120
var getServiceExpr = new
CodeMethodInvokeExpression
(activatorRefExpr, "GetService", new CodeTypeOfExpression(typeToCreate));
Compilation\RouteUrlExpressionBuilder.cs (1)
30
return new
CodeMethodInvokeExpression
(
Compilation\RouteValueExpressionBuilder.cs (1)
30
return new
CodeMethodInvokeExpression
(
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
193
CodeMethodInvokeExpression baseCallExpression = new
CodeMethodInvokeExpression
(
201
CodeMethodInvokeExpression methCallExpression = new
CodeMethodInvokeExpression
(
Configuration\BrowserCapabilitiesCodeGenerator.cs (10)
753
CodeMethodInvokeExpression cmie = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "IsBrowserUnknown");
1010
CodeMethodInvokeExpression cmie = new
CodeMethodInvokeExpression
(new CodeVariableReferenceExpression(browserCapsVariable), "AddBrowser");
1087
CodeMethodInvokeExpression expr = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), methodName);
1222
CodeMethodInvokeExpression cmie = new
CodeMethodInvokeExpression
(_regexWorkerRefExpr, _processRegexMethod);
1285
CodeMethodInvokeExpression cmie = new
CodeMethodInvokeExpression
(_regexWorkerRefExpr, _processRegexMethod);
1311
CodeMethodInvokeExpression cme = new
CodeMethodInvokeExpression
(_browserCapsRefExpr, _disableOptimizedCacheKeyMethodName);
1338
CodeMethodInvokeExpression cmie = new
CodeMethodInvokeExpression
(_regexWorkerRefExpr, _processRegexMethod);
1377
CodeMethodInvokeExpression cmie = new
CodeMethodInvokeExpression
(_regexWorkerRefExpr, _processRegexMethod);
1466
CodeMethodInvokeExpression xProcess = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), prefix + bd.Name + "Process");
1486
CodeMethodInvokeExpression xProcess = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), prefix + bd.Name + "Process");
UI\SimplePropertyEntry.cs (1)
68
CodeMethodInvokeExpression methCallExpression = new
CodeMethodInvokeExpression
(
System.Web.Services (12)
System\Web\Services\Description\HttpProtocolImporter.cs (4)
178
CodeMethodInvokeExpression invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "Invoke", invokeParams);
210
invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "BeginInvoke", invokeParams);
220
invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "EndInvoke", new CodeExpression[] { expr });
260
invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "InvokeAsync", invokeParams);
System\Web\Services\Description\ProtocolImporter.cs (2)
442
CodeMethodInvokeExpression invoke = new
CodeMethodInvokeExpression
(new CodeBaseReferenceExpression(), cancelAsync);
685
value = new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(typeof(System.String)), "Concat", parameters);
System\Web\Services\Description\SoapProtocolImporter.cs (4)
839
CodeMethodInvokeExpression invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "Invoke", invokeParams);
872
invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "BeginInvoke", invokeParams);
899
invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "EndInvoke", new CodeExpression[] { invokeParam });
936
invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "InvokeAsync", invokeParams);
System\Web\Services\Description\WebCodeGenerator.cs (2)
321
CodeMethodInvokeExpression invoke = new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), methodName);
408
prop.GetStatements.Add(new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "RaiseExceptionIfNecessary", new CodeExpression[0]));
System.Workflow.Activities (2)
Rules\Parser\Parser.cs (2)
1545
postfixExpr = new
CodeMethodInvokeExpression
(postfixExpr, methodName, arguments.ToArray());
1699
CodeExpression postfixExpr = new
CodeMethodInvokeExpression
(primaryExpr, methodName, arguments.ToArray());
System.Workflow.ComponentModel (5)
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (1)
47
ctor.Statements.Add(new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), _initMethodName));
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (4)
107
param1 = new
CodeMethodInvokeExpression
(new CodeTypeReferenceExpression(typeof(DependencyProperty)), "FromName", new CodePrimitiveExpression(dependencyProperty.Name), new CodeTypeOfExpression(dependencyProperty.OwnerType));
119
codeMethodInvokeExpr = new
CodeMethodInvokeExpression
(objectExpression, "SetBinding", new CodeExpression[] { param1, new CodeCastExpression(new CodeTypeReference(typeof(ActivityBind)), param2) });
121
codeMethodInvokeExpr = new
CodeMethodInvokeExpression
(objectExpression, (dependencyProperty.IsEvent) ? "AddHandler" : "SetValue", new CodeExpression[] { param1, param2 });
209
retVal.Add(new
CodeMethodInvokeExpression
(objectExpression, "SetValue", new CodeExpression[] { param1, param2 }));
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
318
prop.SetStatements.Add(new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(name)));
XamlBuildTask (10)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (9)
433
initializeMethod.Statements.Add(new
CodeMethodInvokeExpression
(
447
new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "AfterInitializeComponent"),
521
initializeMethod.Statements.Add(new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), "AfterInitializeComponent"));
621
new
CodeMethodInvokeExpression
(
640
xmlReaderNotNull.TrueStatements.Add(new
CodeMethodInvokeExpression
(iDisposibleCastXmlReader, "Dispose"));
647
xamlReaderNotNull.TrueStatements.Add(new
CodeMethodInvokeExpression
(iDisposibleCastXamlReader, "Dispose"));
654
objWriterNotNull.TrueStatements.Add(new
CodeMethodInvokeExpression
(iDisposibleCastObjWriter, "Dispose"));
1303
new
CodeMethodInvokeExpression
(assemblyList, "Add",
1316
new
CodeMethodInvokeExpression
(assemblyList, "Add",
Microsoft\Build\Tasks\Xaml\CodeDomExtensionMethods.cs (1)
32
return new
CodeMethodInvokeExpression
(targetObject, methodName, parameters);