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