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