93 references to CodeMethodReferenceExpression
PresentationBuildTasks (10)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (10)
2522CodeMethodReferenceExpression cmreCD = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Delegate)), "CreateDelegate"); 2611CodeMethodReferenceExpression cmreLoadContent = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT); 2692CodeMethodReferenceExpression cmreCI = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Activator)), "CreateInstance"); 2728CodeMethodReferenceExpression cmreGPV = new CodeMethodReferenceExpression(new CodeArgumentReferenceExpression(PROPINFO), "GetValue"); 2756CodeMethodReferenceExpression cmreSPV = new CodeMethodReferenceExpression(new CodeArgumentReferenceExpression(PROPINFO), "SetValue"); 2793CodeMethodReferenceExpression cmreGetType = new CodeMethodReferenceExpression(careTarget, "GetType"); 2797CodeMethodReferenceExpression cmreCD = new CodeMethodReferenceExpression(cmieGetType, "InvokeMember"); 2838CodeMethodReferenceExpression cmreAEH = new CodeMethodReferenceExpression(new CodeArgumentReferenceExpression(EVENTINFO), "AddEventHandler"); 3137cmieIT.Method = new CodeMethodReferenceExpression(cvreApp, INITIALIZE_COMPONENT); 3145CodeMethodReferenceExpression cmreRun = new CodeMethodReferenceExpression(cvreApp, "Run");
System (1)
compmod\system\codedom\CodeMethodInvokeExpression.cs (1)
55this.method = new CodeMethodReferenceExpression(targetObject, methodName);
System.Activities (26)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (26)
500new CodeMethodReferenceExpression( 513new CodeMethodReferenceExpression( 868new CodeMethodReferenceExpression(new CodeVariableReferenceExpression("returnLocations"), "Add"), 904new CodeMethodReferenceExpression( 1019new CodeMethodReferenceExpression( 1079new CodeMethodReferenceExpression( 1167getExpression = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dataContextVariableName), descriptor.GetMethodName); 1168setExpression = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dataContextVariableName), descriptor.SetMethodName); 1224new CodeMethodReferenceExpression( 1251new CodeMethodReferenceExpression( 1306new CodeMethodReferenceExpression( 1557new CodeMethodReferenceExpression( 1563new CodeMethodReferenceExpression( 1606new CodeMethodReferenceExpression( 1611new CodeMethodReferenceExpression( 1620new CodeMethodReferenceExpression( 1650new CodeMethodReferenceExpression( 1655new CodeMethodReferenceExpression( 1662new CodeMethodReferenceExpression( 1685new CodeMethodReferenceExpression( 1700new CodeMethodReferenceExpression( 1721new CodeMethodReferenceExpression( 1735new CodeMethodReferenceExpression( 1839new CodeMethodReferenceExpression( 1897new CodeMethodReferenceExpression( 2274new CodeMethodReferenceExpression(
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
525CodeMethodReturnStatement returnViewMethodCall = new CodeMethodReturnStatement(new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(null, viewMethod.Name)));
System.Management (44)
WmiGenerator.cs (44)
3563cmie.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(strClass),"GetInstances"); 6554CodeMethodReferenceExpression cmre = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dmtf),"Substring"); 6569CodeMethodReferenceExpression cmre1 = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int64"),"Parse"); 6723CodeMethodReferenceExpression cmre2 = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(datetimeVariable),"AddTicks"); 6733cmre1 = new CodeMethodReferenceExpression(new CodePropertyReferenceExpression(new CodeTypeReferenceExpression("System.TimeZone"),"CurrentTimeZone"), 6767cmre = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dmtf),"Substring"); 6802cmre = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dmtf),"Substring"); 6811cmre = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int32"),"Parse"); 6831cmre = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(datetimeVariable),"AddMinutes"); 6857CodeMethodReferenceExpression cmre = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dmtfVarName),"Substring"); 6871cmre = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int32"),"Parse"); 6906new CodeMethodReferenceExpression( 6915cmie1.Method = new CodeMethodReferenceExpression(cmie,"PadLeft"); 6997cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int32 "),cpre1),"ToString"); 7000cmie1.Method = new CodeMethodReferenceExpression(cmie,"PadLeft"); 7014cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int32 "),cpre1),"ToString"); 7017cmie1.Method = new CodeMethodReferenceExpression(cmie,"PadLeft"); 7031cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int32 "),cpre1),"ToString"); 7034cmie1.Method = new CodeMethodReferenceExpression(cmie,"PadLeft"); 7094cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int64 "),new CodeVariableReferenceExpression(microsec)),"ToString"); 7113cmie.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(strmicrosec),"Substring"); 7125cmie.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(strmicrosec),"PadLeft"); 7169new CodeMethodReferenceExpression( 7210cmre = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Math"),"Abs"); 7223cmre = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(dateParam),"ToUniversalTime"); 7250cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int64 "),cboe2),"ToString"); 7253cmie2.Method = new CodeMethodReferenceExpression(cmie1,"PadLeft"); 7268cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int64 "),new CodeVariableReferenceExpression(OffsetMins)),"ToString"); 7272cmie2.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression("strTemp"),"Substring"); 7280cmie3.Method = new CodeMethodReferenceExpression(cmie2,"PadLeft"); 7295cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int32 "), 7301cmie2.Method = new CodeMethodReferenceExpression(cmie1,"PadLeft"); 7389cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int64 "), 7409cmie1.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(strmicrosec),"Substring"); 7421cmie1.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(strmicrosec),"PadLeft"); 7449cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference(strType), 7455cmie2.Method = new CodeMethodReferenceExpression(cmie,"PadLeft"); 7563cmie.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(tsParam),"Substring"); 7611cmie.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(tsParam),"Substring"); 7618cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int64"),"Parse"); 7756cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.TimeSpan"),"FromTicks"); 7762cmie.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(timespan),"Add"); 7783cmie.Method = new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(tsParam),"Substring"); 7790cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression("System.Int32"),"Parse");
System.ServiceModel (1)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
267CodeMethodInvokeExpression invokeMethod = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeCastExpression(ifaceType, new CodeThisReferenceExpression()), method.Name));
System.Web (7)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (2)
66new CodeMethodReferenceExpression( 1306new CodeMethodReferenceExpression(
Compilation\DataBindingExpressionBuilder.cs (1)
69new CodeMethodReferenceExpression(
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
71cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(PageTheme)), "CreateSkinKey");
Configuration\BrowserCapabilitiesCodeGenerator.cs (3)
904CodeMethodReferenceExpression baseMethod = new CodeMethodReferenceExpression(new CodeBaseReferenceExpression(), _browserElementsMethodName); 967CodeMethodReferenceExpression baseMethod = new CodeMethodReferenceExpression(new CodeBaseReferenceExpression(), _matchedHeadersMethodName); 1138CodeMethodReferenceExpression emptyCheckMethod = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "IsNullOrEmpty");
System.Workflow.Activities (1)
WebServiceReceive.cs (1)
831baseInvokeExpression.Method = new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), "Invoke");
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\SynchronizationHandlesCodeDomSerializer.cs (1)
41statements.Add(new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(variableName), "Add"), new CodeExpression[] { new CodePrimitiveExpression(handle) }));
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
1258new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(shortName, "SetPublicKeyToken"), publicKeyToken)