93 references to 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 (1)
compmod\system\codedom\CodeMethodInvokeExpression.cs (1)
55
this.method = new
CodeMethodReferenceExpression
(targetObject, methodName);
System.Activities (26)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (26)
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);
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 (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
525
CodeMethodReturnStatement returnViewMethodCall = new CodeMethodReturnStatement(new CodeMethodInvokeExpression(new
CodeMethodReferenceExpression
(null, viewMethod.Name)));
System.Management (44)
WmiGenerator.cs (44)
3563
cmie.Method = new
CodeMethodReferenceExpression
(new CodeVariableReferenceExpression(strClass),"GetInstances");
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 (1)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
267
CodeMethodInvokeExpression invokeMethod = new CodeMethodInvokeExpression(new
CodeMethodReferenceExpression
(new CodeCastExpression(ifaceType, new CodeThisReferenceExpression()), method.Name));
System.Web (7)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (2)
66
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 (1)
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 (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
1258
new CodeMethodInvokeExpression(new
CodeMethodReferenceExpression
(shortName, "SetPublicKeyToken"), publicKeyToken)