66 writes to Method
PresentationBuildTasks (10)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (10)
2524
cmieCD.
Method
= cmreCD;
2614
cmieLoadContent.
Method
= cmreLoadContent;
2694
cmieCI.
Method
= cmreCI;
2730
cmieGPV.
Method
= cmreGPV;
2758
cmieSPV.
Method
= cmreSPV;
2795
cmieGetType.
Method
= cmreGetType;
2799
cmieCD.
Method
= cmreCD;
2840
cmieAEH.
Method
= cmreAEH;
3137
cmieIT.
Method
= new CodeMethodReferenceExpression(cvreApp, INITIALIZE_COMPONENT);
3147
cmieRun.
Method
= cmreRun;
System.Management (45)
WmiGenerator.cs (45)
3563
cmie.
Method
= new CodeMethodReferenceExpression(new CodeVariableReferenceExpression(strClass),"GetInstances");
5715
cmie.
Method
= cmre;
6556
cmie.
Method
= cmre;
6571
cmie1.
Method
= cmre1;
6725
cmie2.
Method
= cmre2;
6736
cmie1.
Method
= cmre1;
6769
cmie.
Method
= cmre;
6804
cmie.
Method
= cmre;
6813
cmie.
Method
= cmre;
6833
cmie.
Method
= cmre;
6859
cmie.
Method
= cmre;
6873
cmie.
Method
= cmre;
6905
cmie.
Method
=
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");
7177
cmie1.
Method
= cmre;
7212
cmie1.
Method
= cmre;
7225
cmie1.
Method
= cmre;
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.Web (2)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
784
invokeClearExpr.
Method
= refExpr;
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
71
cmie.
Method
= new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(PageTheme)), "CreateSkinKey");
System.Workflow.Activities (2)
Rules\Expressions.cs (1)
1682
newMethod.
Method
= CloneMethodReference(invokeExpr.Method);
WebServiceReceive.cs (1)
831
baseInvokeExpression.
Method
= new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), "Invoke");
XamlBuildTask (7)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (7)
461
Method
=
478
Method
=
713
Method
=
781
Method
= new CodeMethodReferenceExpression()
791
Method
= new CodeMethodReferenceExpression()
1109
new CodeMethodInvokeExpression {
Method
= new CodeMethodReferenceExpression { MethodName = "LoadAssemblies" } }));
1227
Method
=
170 references to Method
System (3)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
993
GenerateMethodReferenceExpression(e.
Method
);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1324
GenerateMethodReferenceExpression(e.
Method
);
compmod\system\codedom\compiler\CodeValidator.cs (1)
739
ValidateMethodReferenceExpression(e.
Method
);
System.Management (81)
WmiGenerator.cs (81)
1092
cmie.
Method
.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
1379
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression("System.Convert");
1381
cmie.
Method
.MethodName = arrConvFuncName;
1394
cmie.
Method
.MethodName = GetConversionFunction(prop.Type);
1395
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression("System.Convert");
1474
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression("System.Convert");
1476
cmie.
Method
.MethodName = arrConvFuncName;
1573
cmie.
Method
.TargetObject = new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
1574
cmie.
Method
.MethodName = "Put";
2129
cmie.
Method
.TargetObject = new CodeCastExpression(new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).BaseType + " "),new CodeVariableReferenceExpression("key"+arrKeys[i]));
2130
cmie.
Method
.MethodName = "ToString";
2156
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2157
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2165
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2166
cmie.
Method
.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString();
2198
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2199
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2223
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2224
cmie.
Method
.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString();
2255
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2256
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2284
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2285
cmie.
Method
.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString();
2323
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2324
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2353
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2354
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2381
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2382
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2406
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2407
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2411
cmie.
Method
.TargetObject =new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2412
cmie.
Method
.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString();
2443
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2444
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2448
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2449
cmie.
Method
.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString();
2482
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2483
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2488
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2489
cmie.
Method
.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString();
2540
cmieInit.
Method
.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2541
cmieInit.
Method
.TargetObject = new CodeThisReferenceExpression();
2586
cmie.
Method
.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
2651
cmie.
Method
.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
2739
cmie.
Method
.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
3152
cmie2.
Method
.MethodName = GetConversionFunction(prop.Type);
3153
cmie2.
Method
.TargetObject = new CodeTypeReferenceExpression("System.Convert");
3189
cmie2.
Method
.MethodName = GetConversionFunction(prop.Type);
3190
cmie2.
Method
.TargetObject = new CodeTypeReferenceExpression("System.Convert");
3294
cmie.
Method
.MethodName = GetConversionFunction(cimRetType);
3295
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression("System.Convert");
3301
cmie.
Method
.MethodName = GetConversionFunction(cimRetType);
3302
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression("System.Convert");
3340
cmie.
Method
.MethodName = PublicNamesUsed["FilterFunction"].ToString();
5069
cmie.
Method
.TargetObject = new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
5070
cmie.
Method
.MethodName = "Put";
5103
cmie.
Method
.TargetObject = new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
5104
cmie.
Method
.MethodName = "Put";
5653
cmie1.
Method
.MethodName = "GetValue";
5654
cmie1.
Method
.TargetObject = new CodeVariableReferenceExpression(strDerivation);
5841
cmie1.
Method
.MethodName = "GetValue";
5844
cmie1.
Method
.TargetObject = new CodeCastExpression(new CodeTypeReference("System.Array"),new CodePropertyReferenceExpression(prop,"Value"));
5848
cmie1.
Method
.TargetObject = new CodeCastExpression(new CodeTypeReference("System.Array"), prop);
5853
cmie2.
Method
.MethodName = "ToString";
5854
cmie2.
Method
.TargetObject = cmie1;
5963
cmie1.
Method
.MethodName = "GetValue";
5964
cmie1.
Method
.TargetObject = new CodeCastExpression(new CodeTypeReference("System.Array"),varValue);
5996
cmie.
Method
.MethodName = PrivateNamesUsed["ToDateTimeMethod"].ToString();
6018
cmie.
Method
.MethodName = PrivateNamesUsed["ToTimeSpanMethod"].ToString();
6046
cmie1.
Method
.MethodName = PrivateNamesUsed["ToDMTFDateTimeMethod"].ToString();
6054
cmie2.
Method
.MethodName = PrivateNamesUsed["ToDMTFTimeIntervalMethod"].ToString();
6158
cmie1.
Method
.MethodName = "GetValue";
6159
cmie1.
Method
.TargetObject = new CodeVariableReferenceExpression(strArray);
6163
cmie2.
Method
.TargetObject = new CodeTypeReferenceExpression("System.Convert");
6165
cmie2.
Method
.MethodName = arrConvFuncName;
6354
cmie1.
Method
.MethodName = "CreateInstance";
6355
cmie1.
Method
.TargetObject = new CodeVariableReferenceExpression(strTemp);
6390
cmie1.
Method
.MethodName = "Delete";
6391
cmie1.
Method
.TargetObject = new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
7799
cmieInit.
Method
.MethodName = PrivateNamesUsed["initVariable"].ToString();
System.Web (58)
Compilation\BaseCodeDomTreeGenerator.cs (6)
398
invoke.
Method
.TargetObject = new CodeThisReferenceExpression();
399
invoke.
Method
.MethodName = InitMethodName;
704
createObjectCall.
Method
.TargetObject = new CodePropertyReferenceExpression(
706
createObjectCall.
Method
.MethodName = "CreateObject";
714
createObjectCall.
Method
.TargetObject = new CodePropertyReferenceExpression(
716
createObjectCall.
Method
.MethodName = "CreateObjectFromClsid";
Compilation\BaseTemplateCodeDomTreeGenerator.cs (10)
74
methodInvoke.
Method
.TargetObject = new CodeArgumentReferenceExpression(renderMethodParameterName);
75
methodInvoke.
Method
.MethodName = "Write";
113
methodInvoke.
Method
.TargetObject = new CodeThisReferenceExpression();
114
methodInvoke.
Method
.MethodName = "WriteUTF8ResourceString";
668
call.
Method
.TargetObject = new CodeTypeReferenceExpression(typeof(System.Web.UI.StaticPartialCachingControl));
669
call.
Method
.MethodName = "BuildCachedControl";
719
methCallExpression.
Method
.TargetObject = new CodeThisReferenceExpression();
720
methCallExpression.
Method
.MethodName = "CreateResourceBasedLiteralControl";
1551
methodInvoke.
Method
.TargetObject = new CodeIndexerExpression(new CodePropertyReferenceExpression(new CodeArgumentReferenceExpression("parameterContainer"),
1556
methodInvoke.
Method
.MethodName = "RenderControl";
Compilation\CodeDOMUtility.cs (4)
259
methodInvoke.
Method
.TargetObject = new CodeCastExpression(typeof(IAttributeAccessor), target);
260
methodInvoke.
Method
.MethodName = "SetAttribute";
305
invokeExpr.
Method
.TargetObject = BuildGlobalCodeTypeReferenceExpression(typeof(System.Convert));
306
invokeExpr.
Method
.MethodName = "ToString";
Compilation\DataBindingExpressionBuilder.cs (4)
41
evalExpr.
Method
.TargetObject = new CodeThisReferenceExpression();
42
evalExpr.
Method
.MethodName = EvalMethodName;
53
getDataItemExpr.
Method
.TargetObject = new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "Page");
54
getDataItemExpr.
Method
.MethodName = GetDataItemMethodName;
Compilation\PageCodeDomTreeGenerator.cs (18)
113
createWrap.
Method
.TargetObject = new CodeThisReferenceExpression();
114
createWrap.
Method
.MethodName = "GetWrappedFileDependencies";
386
addDeps.
Method
.TargetObject = new CodeThisReferenceExpression();
387
addDeps.
Method
.MethodName = "AddWrappedFileDependencies";
398
call.
Method
.TargetObject = new CodeThisReferenceExpression();
399
call.
Method
.MethodName = "InitOutputCache";
423
invokeExpr.
Method
.TargetObject = new CodePropertyReferenceExpression(
425
invokeExpr.
Method
.MethodName = "ValidateInput";
466
invokeExpr.
Method
.TargetObject = new CodeThisReferenceExpression();
467
invokeExpr.
Method
.MethodName = "AspCompatBeginProcessRequest";
490
call.
Method
.TargetObject = new CodeThisReferenceExpression();
491
call.
Method
.MethodName = "AspCompatEndProcessRequest";
524
invokeExpr.
Method
.TargetObject = new CodeThisReferenceExpression();
525
invokeExpr.
Method
.MethodName = "AsyncPageBeginProcessRequest";
548
call.
Method
.TargetObject = new CodeThisReferenceExpression();
549
call.
Method
.MethodName = "AsyncPageEndProcessRequest";
598
invokeExpr.
Method
.TargetObject = new CodeBaseReferenceExpression();
599
invokeExpr.
Method
.MethodName = "ProcessRequest";
Compilation\ProfileBuildProvider.cs (8)
200
cmie.
Method
.TargetObject = new CodeThisReferenceExpression();
201
cmie.
Method
.MethodName = "GetPropertyValue";
216
setLine.
Method
.TargetObject = new CodeThisReferenceExpression();
217
setLine.
Method
.MethodName = "SetPropertyValue";
250
cmie.
Method
.TargetObject = new CodeThisReferenceExpression();
251
cmie.
Method
.MethodName = "GetProfileGroup";
282
cmie.
Method
.TargetObject = new CodeTypeReferenceExpression("ProfileBase");
283
cmie.
Method
.MethodName = "Create";
Compilation\ResourceExpressionBuilder.cs (4)
122
expr.
Method
.TargetObject = new CodeThisReferenceExpression();
124
expr.
Method
.MethodName = "GetGlobalResourceObject";
141
expr.
Method
.TargetObject = new CodeThisReferenceExpression();
143
expr.
Method
.MethodName = "GetLocalResourceObject";
Compilation\TemplateControlCodeDomTreeGenerator.cs (4)
55
methCallExpression.
Method
.TargetObject = new CodeThisReferenceExpression();
56
methCallExpression.
Method
.MethodName = "ReadStringResource";
211
call.
Method
.TargetObject = new CodeThisReferenceExpression();
212
call.
Method
.MethodName = "__BuildControlTree";
System.Workflow.Activities (28)
Rules\Expressions.cs (28)
1283
if ((invokeExpr.
Method
== null) || (invokeExpr.
Method
.TargetObject == null))
1285
message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTarget, invokeExpr.
Method
.MethodName);
1292
if ((invokeExpr.
Method
.TypeArguments != null) && (invokeExpr.
Method
.TypeArguments.Count > 0))
1306
RuleExpressionInfo targetExprInfo = RuleExpressionWalker.Validate(validation, invokeExpr.
Method
.TargetObject, false);
1317
message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTarget, invokeExpr.
Method
.MethodName);
1334
message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodParameter, i.ToString(CultureInfo.CurrentCulture), invokeExpr.
Method
.MethodName);
1369
if (invokeExpr.
Method
.TargetObject is CodeTypeReferenceExpression)
1377
methodInvokeInfo = validation.ResolveMethod(targetType, invokeExpr.
Method
.MethodName, bindingFlags, argExprs, out error);
1387
methodInvokeInfo = validation.ResolveMethod(targetType, invokeExpr.
Method
.MethodName, bindingFlags, argExprs, out error);
1408
message = string.Format(CultureInfo.CurrentCulture, Messages.CouldNotDetermineMemberType, invokeExpr.
Method
.MethodName);
1415
if (!validation.ValidateMemberAccess(invokeExpr.
Method
.TargetObject, targetType, mi, invokeExpr.
Method
.MethodName, invokeExpr))
1454
CodeExpression targetObject = invokeExpr.
Method
.TargetObject;
1511
object target = RuleExpressionWalker.Evaluate(execution, invokeExpr.
Method
.TargetObject).Value;
1526
message = string.Format(CultureInfo.CurrentCulture, Messages.TargetEvaluatedNullMethod, invokeExpr.
Method
.MethodName);
1636
if ((invokeExpr.
Method
== null) || (invokeExpr.
Method
.TargetObject == null))
1638
string message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTarget, invokeExpr.
Method
.MethodName);
1645
CodeExpression targetObject = invokeExpr.
Method
.TargetObject;
1649
stringBuilder.Append(invokeExpr.
Method
.MethodName);
1661
string message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTypeParameter, i.ToString(CultureInfo.CurrentCulture), invokeExpr.
Method
.MethodName);
1682
newMethod.Method = CloneMethodReference(invokeExpr.
Method
);
1704
if (invokeExpr.
Method
.MethodName != newMethod.
Method
.MethodName)
1706
if (!RuleExpressionWalker.Match(invokeExpr.
Method
.TargetObject, newMethod.
Method
.TargetObject))