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