3 writes to Target
System.Xaml (3)
System\Xaml\Context\NameFixupGraph.cs (1)
246
token.
Target
= parentObject;
System\Xaml\Context\NameFixupToken.cs (1)
112
Target
= new FixupTarget();
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
2524
newToken.
Target
= token.Target;
66 references to Target
System.Xaml (66)
System\Xaml\Context\NameFixupGraph.cs (10)
59
if (fixupToken.
Target
.Property == null)
61
Debug.Assert(fixupToken.
Target
.Instance == null &&
62
fixupToken.
Target
.InstanceType == null &&
69
object parentObject = fixupToken.
Target
.Instance;
117
if (pendingToken.
Target
.Instance == instance)
235
dependencies[i].
Target
.InstanceIsOnTheStack = false;
236
dependencies[i].
Target
.InstanceName = name;
237
dependencies[i].
Target
.EndInstanceLineNumber = lineNumber;
238
dependencies[i].
Target
.EndInstanceLinePosition = linePosition;
449
object parentInstance = token.
Target
.Instance;
System\Xaml\Context\NameFixupToken.cs (2)
113
Target
.TemporaryCollectionIndex = -1;
114
Target
.InstanceIsOnTheStack = true;
System\Xaml\Context\ServiceProviderContext.cs (12)
316
token.
Target
.Instance = _xamlContext.GrandParentInstance;
317
token.
Target
.InstanceWasGotten = _xamlContext.GrandParentIsObjectFromMember;
318
token.
Target
.InstanceType = _xamlContext.GrandParentType;
319
token.
Target
.Property = _xamlContext.GrandParentProperty;
331
token.
Target
.Instance = _xamlContext.ParentInstance;
332
token.
Target
.InstanceWasGotten = _xamlContext.ParentIsObjectFromMember;
333
token.
Target
.InstanceType = _xamlContext.ParentType;
334
token.
Target
.Property = _xamlContext.ParentProperty;
341
token.
Target
.Instance = _xamlContext.ParentInstance;
342
token.
Target
.InstanceWasGotten = _xamlContext.ParentIsObjectFromMember;
343
token.
Target
.InstanceType = _xamlContext.ParentType;
344
token.
Target
.Property = _xamlContext.ParentProperty;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (42)
1911
keyToken.
Target
.KeyHolder = null;
1912
keyToken.
Target
.TemporaryCollectionIndex = pendingCollection.Count;
1917
valueToken.
Target
.TemporaryCollectionIndex = pendingCollection.Count;
2076
Debug.Assert(token.
Target
.Property == XamlLanguage.Key);
2080
token.
Target
.Instance = ctx.GrandParentInstance;
2081
token.
Target
.InstanceType = ctx.GrandParentType;
2082
token.
Target
.InstanceWasGotten = ctx.GrandParentIsObjectFromMember;
2084
token.
Target
.KeyHolder = ftkh;
2089
if (token.
Target
.Instance != null)
2213
token.
Target
.Instance = ctx.ParentInstance;
2214
token.
Target
.InstanceType = ctx.ParentType;
2215
token.
Target
.InstanceWasGotten = ctx.ParentIsObjectFromMember;
2233
token.
Target
.Property = property;
2270
_nameFixupGraph.AddEndOfParseDependency(token.ReferencedObject, token.
Target
);
2284
_nameFixupGraph.AddEndOfParseDependency(token.TargetContext.CurrentInstance, token.
Target
);
2292
if (token.
Target
.Instance != null &&
2293
!_nameFixupGraph.HasUnresolvedChildren(token.
Target
.Instance))
2295
CompleteDeferredInitialization(token.
Target
);
2353
bool isComplete = !token.
Target
.InstanceIsOnTheStack &&
2354
!_nameFixupGraph.HasUnresolvedOrPendingChildren(token.
Target
.Instance);
2357
CompleteDeferredInitialization(token.
Target
);
2359
object completedInstance = token.
Target
.Instance;
2360
string completedName = token.
Target
.InstanceName;
2442
if (token.
Target
.Property == XamlLanguage.Key)
2446
else if (token.
Target
.Property == XamlLanguage.Items)
2452
SetValue(token.
Target
.Instance, token.
Target
.Property, value);
2494
if(token.
Target
.Property != token.TargetContext.ParentProperty)
2499
if (token.
Target
.Property == XamlLanguage.Key)
2503
else if (token.
Target
.Property == XamlLanguage.Items)
2507
else if (token.
Target
.Property != null)
2524
newToken.Target = token.
Target
;
2530
if (token.
Target
.Property == XamlLanguage.Key || token.
Target
.Property == XamlLanguage.Items)
2539
if (token.
Target
.KeyHolder != null)
2542
Debug.Assert(token.
Target
.KeyHolder.Key == token);
2543
token.
Target
.KeyHolder.Key = key;
2546
else if (token.
Target
.TemporaryCollectionIndex >= 0)
2549
List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.
Target
.Instance];
2550
PendingCollectionAdd pendingAdd = pendingCollection[token.
Target
.TemporaryCollectionIndex];
2559
List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.
Target
.Instance];
2560
PendingCollectionAdd pendingAdd = pendingCollection[token.
Target
.TemporaryCollectionIndex];