56 instantiations of CodeMethodInvokeExpression
Microsoft.Build.Tasks.Core (16)
system.design\stronglytypedresourcebuilder.cs (2)
457
var isResMgrNull = new
CodeMethodInvokeExpression
(object_equalsMethod, field_resMgr, new CodePrimitiveExpression(null));
645
var getValue = new
CodeMethodInvokeExpression
(resMgr, getMethodName, new CodePrimitiveExpression(resourceName), resCultureField);
XamlTaskFactory\TaskGenerator.cs (14)
441
new
CodeMethodInvokeExpression
(
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)));
786
new CodeConditionStatement { Condition = new
CodeMethodInvokeExpression
(validateInt, parameters) };
863
var indexDecl = new CodeVariableDeclarationStatement(typeof(int), "i", new
CodeMethodInvokeExpression
(
1013
propertyName.SetStatements.Add(new
CodeMethodInvokeExpression
(
1030
propertyName.SetStatements.Add(new
CodeMethodInvokeExpression
(
1137
var getExecutingAssembly = new
CodeMethodInvokeExpression
(getExecutingAssemblyReference);
1187
checkRequired.Condition, CodeBinaryOperatorType.BooleanAnd, new CodeBinaryOperatorExpression(new
CodeMethodInvokeExpression
(new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), IsSwitchValueSetMethod), new CodeSnippetExpression(SurroundWithQuotes(required))), CodeBinaryOperatorType.IdentityEquality, new CodeSnippetExpression("false")));
1191
checkRequired.Condition = new CodeBinaryOperatorExpression(new
CodeMethodInvokeExpression
(new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), IsSwitchValueSetMethod), new CodeSnippetExpression(SurroundWithQuotes(required))), CodeBinaryOperatorType.IdentityEquality, new CodeSnippetExpression("false"));
1195
checkRequired.TrueStatements.Add(new
CodeMethodInvokeExpression
(
PresentationBuildTasks (15)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (15)
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);
2571
CodeMethodInvokeExpression cmieCD = new
CodeMethodInvokeExpression
();
2683
CodeMethodInvokeExpression cmieLoadContent = new
CodeMethodInvokeExpression
();
2764
CodeMethodInvokeExpression cmieCI = new
CodeMethodInvokeExpression
();
2800
CodeMethodInvokeExpression cmieGPV = new
CodeMethodInvokeExpression
();
2828
CodeMethodInvokeExpression cmieSPV = new
CodeMethodInvokeExpression
();
2865
CodeMethodInvokeExpression cmieGetType = new
CodeMethodInvokeExpression
();
2869
CodeMethodInvokeExpression cmieCD = new
CodeMethodInvokeExpression
();
2910
CodeMethodInvokeExpression cmieAEH = new
CodeMethodInvokeExpression
();
3207
CodeMethodInvokeExpression cmieIT = new
CodeMethodInvokeExpression
();
3217
CodeMethodInvokeExpression cmieRun = new
CodeMethodInvokeExpression
();
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 (16)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2008
expression = new
CodeMethodInvokeExpression
(methodRef, arguments);
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (3)
211
CodeMethodInvokeExpression clearMethod =
new
(target, "Clear");
504
CodeMethodInvokeExpression statement = new
CodeMethodInvokeExpression
640
CodeMethodInvokeExpression methodInvoke = new
CodeMethodInvokeExpression
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
513
CodeMethodInvokeExpression methodInvoke = new
CodeMethodInvokeExpression
532
CodeMethodInvokeExpression methodInvoke = new
CodeMethodInvokeExpression
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (1)
41
ctor.Statements.Add(new
CodeMethodInvokeExpression
(new CodeThisReferenceExpression(), InitMethodName));
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
134
CodeMethodInvokeExpression methodInvoke =
new
()
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (2)
165
CodeMethodInvokeExpression methodInvoke = new
CodeMethodInvokeExpression
268
CodeMethodInvokeExpression methodInvoke = new
CodeMethodInvokeExpression
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
342
CodeMethodInvokeExpression methodInvoke = new
CodeMethodInvokeExpression
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
583
CodeMethodInvokeExpression isResourceManagerNull =
new
(
787
CodeExpression getValue = new
CodeMethodInvokeExpression
(
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (2)
363
CodeMethodInvokeExpression methodInvoke =
new
()
438
CodeMethodInvokeExpression methodInvoke =
new
()
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (1)
60
CodeMethodInvokeExpression statement =
new
()
49 references to CodeMethodInvokeExpression
Microsoft.Build.Tasks.Core (5)
system.design\stronglytypedresourcebuilder.cs (2)
457
var
isResMgrNull = new CodeMethodInvokeExpression(object_equalsMethod, field_resMgr, new CodePrimitiveExpression(null));
645
var
getValue = new CodeMethodInvokeExpression(resMgr, getMethodName, new CodePrimitiveExpression(resourceName), resCultureField);
XamlTaskFactory\TaskGenerator.cs (3)
488
var
isPropertySet = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), IsPropertySetMethod, new CodeSnippetExpression(SurroundWithQuotes(fallbackParameter.Value)));
694
CodeMethodInvokeExpression
setParent = new CodeMethodInvokeExpression(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(SwitchToAdd), ParentProperty), AddLastMethod, new CodeSnippetExpression(SurroundWithQuotes(parentName)));
1137
var
getExecutingAssembly = new CodeMethodInvokeExpression(getExecutingAssemblyReference);
PresentationBuildTasks (15)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (15)
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);
2571
CodeMethodInvokeExpression
cmieCD = new CodeMethodInvokeExpression();
2683
CodeMethodInvokeExpression
cmieLoadContent = new CodeMethodInvokeExpression();
2764
CodeMethodInvokeExpression
cmieCI = new CodeMethodInvokeExpression();
2800
CodeMethodInvokeExpression
cmieGPV = new CodeMethodInvokeExpression();
2828
CodeMethodInvokeExpression
cmieSPV = new CodeMethodInvokeExpression();
2865
CodeMethodInvokeExpression
cmieGetType = new CodeMethodInvokeExpression();
2869
CodeMethodInvokeExpression
cmieCD = new CodeMethodInvokeExpression();
2910
CodeMethodInvokeExpression
cmieAEH = new CodeMethodInvokeExpression();
3207
CodeMethodInvokeExpression
cmieIT = new CodeMethodInvokeExpression();
3217
CodeMethodInvokeExpression
cmieRun = new CodeMethodInvokeExpression();
3282
CodeMethodInvokeExpression
cmieShowSplashScreen = new CodeMethodInvokeExpression(cvreAppSplash, "Show", new CodePrimitiveExpression(true));
System (1)
src\libraries\shims\System\ref\System.cs (1)
70
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.
CodeMethodInvokeExpression
))]
System.CodeDom (10)
Microsoft\CSharp\CSharpCodeGenerator.cs (3)
474
private void GenerateMethodInvokeExpression(
CodeMethodInvokeExpression
e)
1178
else if (e is
CodeMethodInvokeExpression
)
1180
GenerateMethodInvokeExpression((
CodeMethodInvokeExpression
)e);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1076
protected override void GenerateMethodInvokeExpression(
CodeMethodInvokeExpression
e)
System\CodeDom\Compiler\CodeGenerator.cs (3)
555
else if (e is
CodeMethodInvokeExpression
)
557
GenerateMethodInvokeExpression((
CodeMethodInvokeExpression
)e);
1380
protected abstract void GenerateMethodInvokeExpression(
CodeMethodInvokeExpression
e);
System\CodeDom\Compiler\CodeValidator.cs (3)
719
else if (e is
CodeMethodInvokeExpression
)
721
ValidateMethodInvokeExpression((
CodeMethodInvokeExpression
)e);
862
private void ValidateMethodInvokeExpression(
CodeMethodInvokeExpression
e)
System.Windows.Forms.Design (18)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
842
else if (result is
CodeMethodInvokeExpression
methodInvokeEx)
2667
else if (expression is
CodeMethodInvokeExpression
methodInvokeEx)
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (3)
211
CodeMethodInvokeExpression
clearMethod = new(target, "Clear");
504
CodeMethodInvokeExpression
statement = new CodeMethodInvokeExpression
640
CodeMethodInvokeExpression
methodInvoke = new CodeMethodInvokeExpression
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
513
CodeMethodInvokeExpression
methodInvoke = new CodeMethodInvokeExpression
532
CodeMethodInvokeExpression
methodInvoke = new CodeMethodInvokeExpression
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
134
CodeMethodInvokeExpression
methodInvoke = new()
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (2)
165
CodeMethodInvokeExpression
methodInvoke = new CodeMethodInvokeExpression
268
CodeMethodInvokeExpression
methodInvoke = new CodeMethodInvokeExpression
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (2)
35
if (statement is CodeExpressionStatement { Expression:
CodeMethodInvokeExpression
methodInvokeEx })
342
CodeMethodInvokeExpression
methodInvoke = new CodeMethodInvokeExpression
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
583
CodeMethodInvokeExpression
isResourceManagerNull = new(
593
CodeMethodInvokeExpression
getTypeInfo = new(
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (2)
363
CodeMethodInvokeExpression
methodInvoke = new()
438
CodeMethodInvokeExpression
methodInvoke = new()
System\Windows\Forms\Design\ImageCollectionCodeDomSerializer.cs (1)
61
CodeMethodInvokeExpression
setNameMethodCall
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (1)
60
CodeMethodInvokeExpression
statement = new()