30 references to CodeMethodReferenceExpression
Microsoft.Build.Tasks.Core (6)
system.design\stronglytypedresourcebuilder.cs (1)
455
var object_equalsMethod = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(typeof(Object)), "ReferenceEquals");
XamlTaskFactory\TaskGenerator.cs (5)
442
new
CodeMethodReferenceExpression
(
783
var validateInt = new
CodeMethodReferenceExpression
(new CodeThisReferenceExpression(), ValidateIntegerMethod);
1136
var getExecutingAssemblyReference = new
CodeMethodReferenceExpression
(systemReflectionAssembly, "GetExecutingAssembly");
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"));
PresentationBuildTasks (10)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (10)
2570
CodeMethodReferenceExpression cmreCD = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(typeof(Delegate)), "CreateDelegate");
2682
CodeMethodReferenceExpression cmreLoadContent = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT);
2763
CodeMethodReferenceExpression cmreCI = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(typeof(Activator)), "CreateInstance");
2799
CodeMethodReferenceExpression cmreGPV = new
CodeMethodReferenceExpression
(new CodeArgumentReferenceExpression(PROPINFO), "GetValue");
2827
CodeMethodReferenceExpression cmreSPV = new
CodeMethodReferenceExpression
(new CodeArgumentReferenceExpression(PROPINFO), "SetValue");
2864
CodeMethodReferenceExpression cmreGetType = new
CodeMethodReferenceExpression
(careTarget, "GetType");
2868
CodeMethodReferenceExpression cmreCD = new
CodeMethodReferenceExpression
(cmieGetType, "InvokeMember");
2909
CodeMethodReferenceExpression cmreAEH = new
CodeMethodReferenceExpression
(new CodeArgumentReferenceExpression(EVENTINFO), "AddEventHandler");
3208
cmieIT.Method = new
CodeMethodReferenceExpression
(cvreApp, INITIALIZE_COMPONENT);
3216
CodeMethodReferenceExpression cmreRun = new
CodeMethodReferenceExpression
(cvreApp, "Run");
System.CodeDom (1)
System\CodeDom\CodeMethodInvokeExpression.cs (1)
20
_method = new
CodeMethodReferenceExpression
(targetObject, methodName);
System.Windows.Forms.Design (13)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2007
CodeMethodReferenceExpression methodRef =
new
(typeRefExp, methodInfo.Name);
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (2)
478
CodeMethodReferenceExpression methodRef =
new
(targetExpression!, "Add");
639
CodeMethodReferenceExpression methodRef =
new
(targetExpression!, "AddRange");
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
512
CodeMethodReferenceExpression method =
new
(castExp, "LoadComponentSettings");
531
CodeMethodReferenceExpression method =
new
(castExp, methodName);
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
136
Method = new
CodeMethodReferenceExpression
(rmExpression, "ApplyResources")
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (2)
164
CodeMethodReferenceExpression methodRef =
new
(extender, $"Get{property.Name}");
234
CodeMethodReferenceExpression methodRef =
new
(extender, $"Set{property.Name}");
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
344
Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(ResourceManagerName), methodName)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
581
new
(new CodeTypeReferenceExpression(typeof(object)), "ReferenceEquals");
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (2)
362
CodeMethodReferenceExpression method =
new
(field, methodName);
437
CodeMethodReferenceExpression method =
new
(controlsCollection, "SetChildIndex");
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (1)
25
CodeMethodReferenceExpression methodRef =
new
(targetExpression, "Add");