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