27 references to CodeMethodInvokeExpression
Microsoft.Build.Tasks.Core (10)
system.design\stronglytypedresourcebuilder.cs (1)
645var getValue = new CodeMethodInvokeExpression(resMgr, getMethodName, new CodePrimitiveExpression(resourceName), resCultureField);
XamlTaskFactory\TaskGenerator.cs (9)
488var isPropertySet = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), IsPropertySetMethod, new CodeSnippetExpression(SurroundWithQuotes(fallbackParameter.Value))); 489var propertyNotSet = new CodeBinaryOperatorExpression(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), IsPropertySetMethod, new CodeSnippetExpression(SurroundWithQuotes(fallbackParameter.Key))), CodeBinaryOperatorType.ValueEquality, new CodeSnippetExpression(IsOff)); 648Condition = new CodeMethodInvokeExpression( 694CodeMethodInvokeExpression setParent = new CodeMethodInvokeExpression(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(SwitchToAdd), ParentProperty), AddLastMethod, new CodeSnippetExpression(SurroundWithQuotes(parentName))); 730propertyName.SetStatements.Add(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), ReplaceToolSwitchMethod, new CodeSnippetExpression(SwitchToAdd))); 863var indexDecl = new CodeVariableDeclarationStatement(typeof(int), "i", new CodeMethodInvokeExpression( 1013propertyName.SetStatements.Add(new CodeMethodInvokeExpression( 1030propertyName.SetStatements.Add(new CodeMethodInvokeExpression( 1195checkRequired.TrueStatements.Add(new CodeMethodInvokeExpression(
PresentationBuildTasks (5)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (5)
1007CodeMethodInvokeExpression cmieAdd = new CodeMethodInvokeExpression(cpreSetters, ADD, cvreES); 1850CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1988CodeMethodInvokeExpression cmieAddHandler = new CodeMethodInvokeExpression(ce, ADDHANDLER, cfreEvent, cDelExp); 2047CodeMethodInvokeExpression cmieOnEvent = new CodeMethodInvokeExpression(null, cmmEventHandler.Name); 3282CodeMethodInvokeExpression cmieShowSplashScreen = new CodeMethodInvokeExpression(cvreAppSplash, "Show", new CodePrimitiveExpression(true));
System.Runtime.Serialization.Schema (9)
System\Runtime\Serialization\Schema\CodeExporter.cs (9)
1725setNode.Right = new CodeMethodInvokeExpression( 1746new CodeMethodInvokeExpression( 1782new CodeMethodInvokeExpression( 1876getEnumerator.InitExpression = new CodeMethodInvokeExpression( 1896addValue.Expression = new CodeMethodInvokeExpression( 1903loop.TestExpression = new CodeMethodInvokeExpression( 2014left = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(object)), 2019left = new CodeMethodInvokeExpression(left, "Equals", new CodeExpression[] { right }); 2024ifStatement.TrueStatements.Add(new CodeMethodInvokeExpression(ThisReference, RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(propertyName)));
System.Windows.Forms.Design (3)
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
211CodeMethodInvokeExpression clearMethod = new(target, "Clear");
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (1)
41ctor.Statements.Add(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), InitMethodName));
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
787CodeExpression getValue = new CodeMethodInvokeExpression(