3 writes to Target
System.Xaml (3)
System\Xaml\Context\NameFixupGraph.cs (1)
242
token.
Target
= parentObject;
System\Xaml\Context\NameFixupToken.cs (1)
109
Target
= new FixupTarget();
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
2522
newToken.
Target
= token.Target;
66 references to Target
System.Xaml (66)
System\Xaml\Context\NameFixupGraph.cs (10)
55
if (fixupToken.
Target
.Property is null)
57
Debug.Assert(fixupToken.
Target
.Instance is null &&
58
fixupToken.
Target
.InstanceType is null &&
65
object parentObject = fixupToken.
Target
.Instance;
113
if (pendingToken.
Target
.Instance == instance)
231
dependencies[i].
Target
.InstanceIsOnTheStack = false;
232
dependencies[i].
Target
.InstanceName = name;
233
dependencies[i].
Target
.EndInstanceLineNumber = lineNumber;
234
dependencies[i].
Target
.EndInstanceLinePosition = linePosition;
445
object parentInstance = token.
Target
.Instance;
System\Xaml\Context\NameFixupToken.cs (2)
110
Target
.TemporaryCollectionIndex = -1;
111
Target
.InstanceIsOnTheStack = true;
System\Xaml\Context\ServiceProviderContext.cs (12)
314
token.
Target
.Instance = _xamlContext.GrandParentInstance;
315
token.
Target
.InstanceWasGotten = _xamlContext.GrandParentIsObjectFromMember;
316
token.
Target
.InstanceType = _xamlContext.GrandParentType;
317
token.
Target
.Property = _xamlContext.GrandParentProperty;
329
token.
Target
.Instance = _xamlContext.ParentInstance;
330
token.
Target
.InstanceWasGotten = _xamlContext.ParentIsObjectFromMember;
331
token.
Target
.InstanceType = _xamlContext.ParentType;
332
token.
Target
.Property = _xamlContext.ParentProperty;
339
token.
Target
.Instance = _xamlContext.ParentInstance;
340
token.
Target
.InstanceWasGotten = _xamlContext.ParentIsObjectFromMember;
341
token.
Target
.InstanceType = _xamlContext.ParentType;
342
token.
Target
.Property = _xamlContext.ParentProperty;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (42)
1909
keyToken.
Target
.KeyHolder = null;
1910
keyToken.
Target
.TemporaryCollectionIndex = pendingCollection.Count;
1915
valueToken.
Target
.TemporaryCollectionIndex = pendingCollection.Count;
2074
Debug.Assert(token.
Target
.Property == XamlLanguage.Key);
2078
token.
Target
.Instance = ctx.GrandParentInstance;
2079
token.
Target
.InstanceType = ctx.GrandParentType;
2080
token.
Target
.InstanceWasGotten = ctx.GrandParentIsObjectFromMember;
2082
token.
Target
.KeyHolder = ftkh;
2087
if (token.
Target
.Instance is not null)
2211
token.
Target
.Instance = ctx.ParentInstance;
2212
token.
Target
.InstanceType = ctx.ParentType;
2213
token.
Target
.InstanceWasGotten = ctx.ParentIsObjectFromMember;
2231
token.
Target
.Property = property;
2268
_nameFixupGraph.AddEndOfParseDependency(token.ReferencedObject, token.
Target
);
2282
_nameFixupGraph.AddEndOfParseDependency(token.TargetContext.CurrentInstance, token.
Target
);
2290
if (token.
Target
.Instance is not null &&
2291
!_nameFixupGraph.HasUnresolvedChildren(token.
Target
.Instance))
2293
CompleteDeferredInitialization(token.
Target
);
2351
bool isComplete = !token.
Target
.InstanceIsOnTheStack &&
2352
!_nameFixupGraph.HasUnresolvedOrPendingChildren(token.
Target
.Instance);
2355
CompleteDeferredInitialization(token.
Target
);
2357
object completedInstance = token.
Target
.Instance;
2358
string completedName = token.
Target
.InstanceName;
2440
if (token.
Target
.Property == XamlLanguage.Key)
2444
else if (token.
Target
.Property == XamlLanguage.Items)
2450
SetValue(token.
Target
.Instance, token.
Target
.Property, value);
2492
if(token.
Target
.Property != token.TargetContext.ParentProperty)
2497
if (token.
Target
.Property == XamlLanguage.Key)
2501
else if (token.
Target
.Property == XamlLanguage.Items)
2505
else if (token.
Target
.Property is not null)
2522
newToken.Target = token.
Target
;
2528
if (token.
Target
.Property == XamlLanguage.Key || token.
Target
.Property == XamlLanguage.Items)
2537
if (token.
Target
.KeyHolder is not null)
2540
Debug.Assert(token.
Target
.KeyHolder.Key == token);
2541
token.
Target
.KeyHolder.Key = key;
2544
else if (token.
Target
.TemporaryCollectionIndex >= 0)
2547
List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.
Target
.Instance];
2548
PendingCollectionAdd pendingAdd = pendingCollection[token.
Target
.TemporaryCollectionIndex];
2557
List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.
Target
.Instance];
2558
PendingCollectionAdd pendingAdd = pendingCollection[token.
Target
.TemporaryCollectionIndex];