121 instantiations of CodeMethodReferenceExpression
PresentationBuildTasks (10)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (10)
2522
CodeMethodReferenceExpression cmreCD = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(typeof(Delegate)), "CreateDelegate");
2611
CodeMethodReferenceExpression cmreLoadContent = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT);
2692
CodeMethodReferenceExpression cmreCI = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(typeof(Activator)), "CreateInstance");
2728
CodeMethodReferenceExpression cmreGPV = new
CodeMethodReferenceExpression
(new CodeArgumentReferenceExpression(PROPINFO), "GetValue");
2756
CodeMethodReferenceExpression cmreSPV = new
CodeMethodReferenceExpression
(new CodeArgumentReferenceExpression(PROPINFO), "SetValue");
2793
CodeMethodReferenceExpression cmreGetType = new
CodeMethodReferenceExpression
(careTarget, "GetType");
2797
CodeMethodReferenceExpression cmreCD = new
CodeMethodReferenceExpression
(cmieGetType, "InvokeMember");
2838
CodeMethodReferenceExpression cmreAEH = new
CodeMethodReferenceExpression
(new CodeArgumentReferenceExpression(EVENTINFO), "AddEventHandler");
3137
cmieIT.Method = new
CodeMethodReferenceExpression
(cvreApp, INITIALIZE_COMPONENT);
3145
CodeMethodReferenceExpression cmreRun = new
CodeMethodReferenceExpression
(cvreApp, "Run");
System (2)
compmod\system\codedom\CodeMethodInvokeExpression.cs (2)
55
this.method = new
CodeMethodReferenceExpression
(targetObject, methodName);
67
method = new
CodeMethodReferenceExpression
();
System.Activities (27)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (27)
500
new
CodeMethodReferenceExpression
(
513
new
CodeMethodReferenceExpression
(
868
new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression("returnLocations"), "Add"),
904
new
CodeMethodReferenceExpression
(
1019
new
CodeMethodReferenceExpression
(
1079
new
CodeMethodReferenceExpression
(
1167
getExpression = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(dataContextVariableName), descriptor.GetMethodName);
1168
setExpression = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(dataContextVariableName), descriptor.SetMethodName);
1171
CodeMethodReferenceExpression getLocationMethod = new
CodeMethodReferenceExpression
(
1224
new
CodeMethodReferenceExpression
(
1251
new
CodeMethodReferenceExpression
(
1306
new
CodeMethodReferenceExpression
(
1557
new
CodeMethodReferenceExpression
(
1563
new
CodeMethodReferenceExpression
(
1606
new
CodeMethodReferenceExpression
(
1611
new
CodeMethodReferenceExpression
(
1620
new
CodeMethodReferenceExpression
(
1650
new
CodeMethodReferenceExpression
(
1655
new
CodeMethodReferenceExpression
(
1662
new
CodeMethodReferenceExpression
(
1685
new
CodeMethodReferenceExpression
(
1700
new
CodeMethodReferenceExpression
(
1721
new
CodeMethodReferenceExpression
(
1735
new
CodeMethodReferenceExpression
(
1839
new
CodeMethodReferenceExpression
(
1897
new
CodeMethodReferenceExpression
(
2274
new
CodeMethodReferenceExpression
(
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
525
CodeMethodReturnStatement returnViewMethodCall = new CodeMethodReturnStatement(new CodeMethodInvokeExpression(new
CodeMethodReferenceExpression
(null, viewMethod.Name)));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
392
new
CodeMethodReferenceExpression
(
550
CodeMethodReferenceExpression executeFunctionMethod = new
CodeMethodReferenceExpression
(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (3)
183
CodeMethodReferenceExpression initReferenceMethod = new
CodeMethodReferenceExpression
();
230
CodeMethodReferenceExpression initCollectionMethod = new
CodeMethodReferenceExpression
();
346
CodeMethodReferenceExpression getMethod = new
CodeMethodReferenceExpression
();
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
553
new
CodeMethodReferenceExpression
(
System.Management (46)
WmiGenerator.cs (46)
3563
cmie.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(strClass),"GetInstances");
5556
CodeMethodReferenceExpression cmre = new
CodeMethodReferenceExpression
();
5710
CodeMethodReferenceExpression cmre = new
CodeMethodReferenceExpression
();
6554
CodeMethodReferenceExpression cmre = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(dmtf),"Substring");
6569
CodeMethodReferenceExpression cmre1 = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression("System.Int64"),"Parse");
6723
CodeMethodReferenceExpression cmre2 = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(datetimeVariable),"AddTicks");
6733
cmre1 = new
CodeMethodReferenceExpression
(new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.TimeZone"),"CurrentTimeZone"),
6767
cmre = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(dmtf),"Substring");
6802
cmre = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(dmtf),"Substring");
6811
cmre = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression("System.Int32"),"Parse");
6831
cmre = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(datetimeVariable),"AddMinutes");
6857
CodeMethodReferenceExpression cmre = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(dmtfVarName),"Substring");
6871
cmre = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression("System.Int32"),"Parse");
6906
new
CodeMethodReferenceExpression
(
6915
cmie1.Method = new
CodeMethodReferenceExpression
(cmie,"PadLeft");
6997
cmie.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference("System.Int32 "),cpre1),"ToString");
7000
cmie1.Method = new
CodeMethodReferenceExpression
(cmie,"PadLeft");
7014
cmie.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference("System.Int32 "),cpre1),"ToString");
7017
cmie1.Method = new
CodeMethodReferenceExpression
(cmie,"PadLeft");
7031
cmie.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference("System.Int32 "),cpre1),"ToString");
7034
cmie1.Method = new
CodeMethodReferenceExpression
(cmie,"PadLeft");
7094
cmie.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference("System.Int64 "),new CodeVariableReferenceExpression(microsec)),"ToString");
7113
cmie.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(strmicrosec),"Substring");
7125
cmie.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(strmicrosec),"PadLeft");
7169
new
CodeMethodReferenceExpression
(
7210
cmre = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression("System.Math"),"Abs");
7223
cmre = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(dateParam),"ToUniversalTime");
7250
cmie1.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference("System.Int64 "),cboe2),"ToString");
7253
cmie2.Method = new
CodeMethodReferenceExpression
(cmie1,"PadLeft");
7268
cmie1.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference("System.Int64 "),new CodeVariableReferenceExpression(OffsetMins)),"ToString");
7272
cmie2.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression("strTemp"),"Substring");
7280
cmie3.Method = new
CodeMethodReferenceExpression
(cmie2,"PadLeft");
7295
cmie1.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference("System.Int32 "),
7301
cmie2.Method = new
CodeMethodReferenceExpression
(cmie1,"PadLeft");
7389
cmie1.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference("System.Int64 "),
7409
cmie1.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(strmicrosec),"Substring");
7421
cmie1.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(strmicrosec),"PadLeft");
7449
cmie.Method = new
CodeMethodReferenceExpression
(new CodeCastExpression(new CodeTypeReference(strType),
7455
cmie2.Method = new
CodeMethodReferenceExpression
(cmie,"PadLeft");
7563
cmie.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(tsParam),"Substring");
7611
cmie.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(tsParam),"Substring");
7618
cmie.Method = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression("System.Int64"),"Parse");
7756
cmie.Method = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression("System.TimeSpan"),"FromTicks");
7762
cmie.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(timespan),"Add");
7783
cmie.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(tsParam),"Substring");
7790
cmie.Method = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression("System.Int32"),"Parse");
System.ServiceModel (2)
System\ServiceModel\Description\ClientClassGenerator.cs (2)
267
CodeMethodInvokeExpression invokeMethod = new CodeMethodInvokeExpression(new
CodeMethodReferenceExpression
(new CodeCastExpression(ifaceType, new CodeThisReferenceExpression()), method.Name));
730
CodeMethodReferenceExpression getDefaultValueMethodRef = new
CodeMethodReferenceExpression
(new CodeThisReferenceExpression(), getDefaultValueForInitializationMethodName, endMethod.Parameters[i].Type);
System.Web (8)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (3)
66
new
CodeMethodReferenceExpression
(
780
CodeMethodReferenceExpression refExpr = new
CodeMethodReferenceExpression
();
1306
new
CodeMethodReferenceExpression
(
Compilation\DataBindingExpressionBuilder.cs (1)
69
new
CodeMethodReferenceExpression
(
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
71
cmie.Method = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(typeof(PageTheme)), "CreateSkinKey");
Configuration\BrowserCapabilitiesCodeGenerator.cs (3)
904
CodeMethodReferenceExpression baseMethod = new
CodeMethodReferenceExpression
(new CodeBaseReferenceExpression(), _browserElementsMethodName);
967
CodeMethodReferenceExpression baseMethod = new
CodeMethodReferenceExpression
(new CodeBaseReferenceExpression(), _matchedHeadersMethodName);
1138
CodeMethodReferenceExpression emptyCheckMethod = new
CodeMethodReferenceExpression
(new CodeTypeReferenceExpression(typeof(String)), "IsNullOrEmpty");
System.Workflow.Activities (2)
Rules\Expressions.cs (1)
1690
CodeMethodReferenceExpression newReference = new
CodeMethodReferenceExpression
();
WebServiceReceive.cs (1)
831
baseInvokeExpression.Method = new
CodeMethodReferenceExpression
(new CodeThisReferenceExpression(), "Invoke");
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\SynchronizationHandlesCodeDomSerializer.cs (1)
41
statements.Add(new CodeMethodInvokeExpression(new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(variableName), "Add"), new CodeExpression[] { new CodePrimitiveExpression(handle) }));
XamlBuildTask (16)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (16)
462
new
CodeMethodReferenceExpression
()
479
new
CodeMethodReferenceExpression
()
538
new
CodeMethodReferenceExpression
()
554
new
CodeMethodReferenceExpression
()
585
new
CodeMethodReferenceExpression
()
602
new
CodeMethodReferenceExpression
()
714
new
CodeMethodReferenceExpression
()
781
Method = new
CodeMethodReferenceExpression
()
791
Method = new
CodeMethodReferenceExpression
()
1109
new CodeMethodInvokeExpression { Method = new
CodeMethodReferenceExpression
{ MethodName = "LoadAssemblies" } }));
1228
new
CodeMethodReferenceExpression
()
1244
new
CodeMethodReferenceExpression
()
1258
new CodeMethodInvokeExpression(new
CodeMethodReferenceExpression
(shortName, "SetPublicKeyToken"), publicKeyToken)
1263
new
CodeMethodReferenceExpression
()
1305
new
CodeMethodReferenceExpression
()
1318
new
CodeMethodReferenceExpression
()
44 references to CodeMethodReferenceExpression
PresentationBuildTasks (9)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (9)
2522
CodeMethodReferenceExpression
cmreCD = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Delegate)), "CreateDelegate");
2611
CodeMethodReferenceExpression
cmreLoadContent = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT);
2692
CodeMethodReferenceExpression
cmreCI = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Activator)), "CreateInstance");
2728
CodeMethodReferenceExpression
cmreGPV = new CodeMethodReferenceExpression(new CodeArgumentReferenceExpression(PROPINFO), "GetValue");
2756
CodeMethodReferenceExpression
cmreSPV = new CodeMethodReferenceExpression(new CodeArgumentReferenceExpression(PROPINFO), "SetValue");
2793
CodeMethodReferenceExpression
cmreGetType = new CodeMethodReferenceExpression(careTarget, "GetType");
2797
CodeMethodReferenceExpression
cmreCD = new CodeMethodReferenceExpression(cmieGetType, "InvokeMember");
2838
CodeMethodReferenceExpression
cmreAEH = new CodeMethodReferenceExpression(new CodeArgumentReferenceExpression(EVENTINFO), "AddEventHandler");
3145
CodeMethodReferenceExpression
cmreRun = new CodeMethodReferenceExpression(cvreApp, "Run");
System (15)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
999
private void GenerateMethodReferenceExpression(
CodeMethodReferenceExpression
e) {
1696
else if (e is
CodeMethodReferenceExpression
) {
1697
GenerateMethodReferenceExpression((
CodeMethodReferenceExpression
)e);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1333
protected override void GenerateMethodReferenceExpression(
CodeMethodReferenceExpression
e) {
compmod\system\codedom\CodeMethodInvokeExpression.cs (3)
29
private
CodeMethodReferenceExpression
method;
46
public CodeMethodInvokeExpression(
CodeMethodReferenceExpression
method, params CodeExpression[] parameters) {
64
public
CodeMethodReferenceExpression
Method {
compmod\system\codedom\codemethodreferenceexpression.cs (2)
37
/// Initializes a new instance of <see cref='System.CodeDom.
CodeMethodReferenceExpression
'/>.
45
/// Initializes a new instance of <see cref='System.CodeDom.
CodeMethodReferenceExpression
'/> using the specified
compmod\system\codedom\compiler\CodeGenerator.cs (3)
638
else if (e is
CodeMethodReferenceExpression
) {
639
GenerateMethodReferenceExpression((
CodeMethodReferenceExpression
)e);
1445
protected abstract void GenerateMethodReferenceExpression(
CodeMethodReferenceExpression
e);
compmod\system\codedom\compiler\CodeValidator.cs (3)
624
else if (e is
CodeMethodReferenceExpression
) {
625
ValidateMethodReferenceExpression((
CodeMethodReferenceExpression
)e);
743
private void ValidateMethodReferenceExpression(
CodeMethodReferenceExpression
e) {
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
1171
CodeMethodReferenceExpression
getLocationMethod = new CodeMethodReferenceExpression(
System.Data.Entity.Design (4)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
550
CodeMethodReferenceExpression
executeFunctionMethod = new CodeMethodReferenceExpression(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (3)
183
CodeMethodReferenceExpression
initReferenceMethod = new CodeMethodReferenceExpression();
230
CodeMethodReferenceExpression
initCollectionMethod = new CodeMethodReferenceExpression();
346
CodeMethodReferenceExpression
getMethod = new CodeMethodReferenceExpression();
System.Management (7)
WmiGenerator.cs (7)
5556
CodeMethodReferenceExpression
cmre = new CodeMethodReferenceExpression();
5710
CodeMethodReferenceExpression
cmre = new CodeMethodReferenceExpression();
6554
CodeMethodReferenceExpression
cmre = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dmtf),"Substring");
6569
CodeMethodReferenceExpression
cmre1 = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int64"),"Parse");
6723
CodeMethodReferenceExpression
cmre2 = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(datetimeVariable),"AddTicks");
6857
CodeMethodReferenceExpression
cmre = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dmtfVarName),"Substring");
7168
CodeMethodReferenceExpression
cmre =
System.ServiceModel (1)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
730
CodeMethodReferenceExpression
getDefaultValueMethodRef = new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), getDefaultValueForInitializationMethodName, endMethod.Parameters[i].Type);
System.Web (4)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
780
CodeMethodReferenceExpression
refExpr = new CodeMethodReferenceExpression();
Configuration\BrowserCapabilitiesCodeGenerator.cs (3)
904
CodeMethodReferenceExpression
baseMethod = new CodeMethodReferenceExpression(new CodeBaseReferenceExpression(), _browserElementsMethodName);
967
CodeMethodReferenceExpression
baseMethod = new CodeMethodReferenceExpression(new CodeBaseReferenceExpression(), _matchedHeadersMethodName);
1138
CodeMethodReferenceExpression
emptyCheckMethod = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "IsNullOrEmpty");
System.Workflow.Activities (3)
Rules\Expressions.cs (3)
1688
private static
CodeMethodReferenceExpression
CloneMethodReference(
CodeMethodReferenceExpression
oldReference)
1690
CodeMethodReferenceExpression
newReference = new CodeMethodReferenceExpression();