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