79 writes to TargetObject
System (2)
compmod\system\codedom\codemethodreferenceexpression.cs (2)
50
TargetObject
= targetObject;
55
TargetObject
= targetObject;
System.Data.Entity.Design (3)
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (3)
187
initReferenceMethod.
TargetObject
= new CodePropertyReferenceExpression(
234
initCollectionMethod.
TargetObject
= new CodePropertyReferenceExpression(
353
getMethod.
TargetObject
= new CodePropertyReferenceExpression(
System.Management (37)
WmiGenerator.cs (37)
1379
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression("System.Convert");
1395
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression("System.Convert");
1474
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression("System.Convert");
1573
cmie.Method.
TargetObject
= new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
2129
cmie.Method.
TargetObject
= new CodeCastExpression(new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).BaseType + " "),new CodeVariableReferenceExpression("key"+arrKeys[i]));
2157
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2165
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2199
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2223
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2256
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2284
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2324
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2354
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2382
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2407
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2411
cmie.Method.
TargetObject
=new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2444
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2448
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2483
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
2488
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2541
cmieInit.Method.
TargetObject
= new CodeThisReferenceExpression();
3153
cmie2.Method.
TargetObject
= new CodeTypeReferenceExpression("System.Convert");
3190
cmie2.Method.
TargetObject
= new CodeTypeReferenceExpression("System.Convert");
3295
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression("System.Convert");
3302
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression("System.Convert");
5069
cmie.Method.
TargetObject
= new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
5103
cmie.Method.
TargetObject
= new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
5654
cmie1.Method.
TargetObject
= new CodeVariableReferenceExpression(strDerivation);
5712
cmre.
TargetObject
= prop;
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);
5854
cmie2.Method.
TargetObject
= cmie1;
5964
cmie1.Method.
TargetObject
= new CodeCastExpression(new CodeTypeReference("System.Array"),varValue);
6159
cmie1.Method.
TargetObject
= new CodeVariableReferenceExpression(strArray);
6163
cmie2.Method.
TargetObject
= new CodeTypeReferenceExpression("System.Convert");
6355
cmie1.Method.
TargetObject
= new CodeVariableReferenceExpression(strTemp);
6391
cmie1.Method.
TargetObject
= new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
System.Web (30)
Compilation\BaseCodeDomTreeGenerator.cs (3)
398
invoke.Method.
TargetObject
= new CodeThisReferenceExpression();
704
createObjectCall.Method.
TargetObject
= new CodePropertyReferenceExpression(
714
createObjectCall.Method.
TargetObject
= new CodePropertyReferenceExpression(
Compilation\BaseTemplateCodeDomTreeGenerator.cs (6)
74
methodInvoke.Method.
TargetObject
= new CodeArgumentReferenceExpression(renderMethodParameterName);
113
methodInvoke.Method.
TargetObject
= new CodeThisReferenceExpression();
668
call.Method.
TargetObject
= new CodeTypeReferenceExpression(typeof(System.Web.UI.StaticPartialCachingControl));
719
methCallExpression.Method.
TargetObject
= new CodeThisReferenceExpression();
782
refExpr.
TargetObject
= new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.Name);
1551
methodInvoke.Method.
TargetObject
= new CodeIndexerExpression(new CodePropertyReferenceExpression(new CodeArgumentReferenceExpression("parameterContainer"),
Compilation\CodeDOMUtility.cs (2)
259
methodInvoke.Method.
TargetObject
= new CodeCastExpression(typeof(IAttributeAccessor), target);
305
invokeExpr.Method.
TargetObject
= BuildGlobalCodeTypeReferenceExpression(typeof(System.Convert));
Compilation\DataBindingExpressionBuilder.cs (2)
41
evalExpr.Method.
TargetObject
= new CodeThisReferenceExpression();
53
getDataItemExpr.Method.
TargetObject
= new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), "Page");
Compilation\PageCodeDomTreeGenerator.cs (9)
113
createWrap.Method.
TargetObject
= new CodeThisReferenceExpression();
386
addDeps.Method.
TargetObject
= new CodeThisReferenceExpression();
398
call.Method.
TargetObject
= new CodeThisReferenceExpression();
423
invokeExpr.Method.
TargetObject
= new CodePropertyReferenceExpression(
466
invokeExpr.Method.
TargetObject
= new CodeThisReferenceExpression();
490
call.Method.
TargetObject
= new CodeThisReferenceExpression();
524
invokeExpr.Method.
TargetObject
= new CodeThisReferenceExpression();
548
call.Method.
TargetObject
= new CodeThisReferenceExpression();
598
invokeExpr.Method.
TargetObject
= new CodeBaseReferenceExpression();
Compilation\ProfileBuildProvider.cs (4)
200
cmie.Method.
TargetObject
= new CodeThisReferenceExpression();
216
setLine.Method.
TargetObject
= new CodeThisReferenceExpression();
250
cmie.Method.
TargetObject
= new CodeThisReferenceExpression();
282
cmie.Method.
TargetObject
= new CodeTypeReferenceExpression("ProfileBase");
Compilation\ResourceExpressionBuilder.cs (2)
122
expr.Method.
TargetObject
= new CodeThisReferenceExpression();
141
expr.Method.
TargetObject
= new CodeThisReferenceExpression();
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
55
methCallExpression.Method.
TargetObject
= new CodeThisReferenceExpression();
211
call.Method.
TargetObject
= new CodeThisReferenceExpression();
System.Workflow.Activities (1)
Rules\Expressions.cs (1)
1692
newReference.
TargetObject
= RuleExpressionWalker.Clone(oldReference.TargetObject);
XamlBuildTask (6)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (6)
465
TargetObject
= new CodeThisReferenceExpression(),
482
TargetObject
=
717
TargetObject
=
783
TargetObject
= new CodeVariableReferenceExpression("resource"),
793
TargetObject
= new CodeVariableReferenceExpression("resource"),
1231
TargetObject
= assemblyName,
19 references to TargetObject
System (8)
compmod\microsoft\csharp\csharpcodeprovider.cs (4)
1000
if (e.
TargetObject
!= null) {
1001
if (e.
TargetObject
is CodeBinaryOperatorExpression) {
1003
GenerateExpression(e.
TargetObject
);
1007
GenerateExpression(e.
TargetObject
);
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
1334
if (e.
TargetObject
!= null) {
1335
GenerateExpression(e.
TargetObject
);
compmod\system\codedom\compiler\CodeValidator.cs (2)
744
if (e.
TargetObject
!= null) {
745
ValidateExpression(e.
TargetObject
);
System.Workflow.Activities (11)
Rules\Expressions.cs (11)
1283
if ((invokeExpr.Method == null) || (invokeExpr.Method.
TargetObject
== null))
1306
RuleExpressionInfo targetExprInfo = RuleExpressionWalker.Validate(validation, invokeExpr.Method.
TargetObject
, false);
1369
if (invokeExpr.Method.
TargetObject
is CodeTypeReferenceExpression)
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;
1636
if ((invokeExpr.Method == null) || (invokeExpr.Method.
TargetObject
== null))
1645
CodeExpression targetObject = invokeExpr.Method.
TargetObject
;
1692
newReference.TargetObject = RuleExpressionWalker.Clone(oldReference.
TargetObject
);
1706
if (!RuleExpressionWalker.Match(invokeExpr.Method.
TargetObject
, newMethod.Method.
TargetObject
))