5 writes to Instance
System.Xaml (5)
System\Xaml\Context\ServiceProviderContext.cs (3)
314token.Target.Instance = _xamlContext.GrandParentInstance; 329token.Target.Instance = _xamlContext.ParentInstance; 339token.Target.Instance = _xamlContext.ParentInstance;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (2)
2078token.Target.Instance = ctx.GrandParentInstance; 2211token.Target.Instance = ctx.ParentInstance;
16 references to Instance
System.Xaml (16)
System\Xaml\Context\NameFixupGraph.cs (5)
57Debug.Assert(fixupToken.Target.Instance is null && 65object parentObject = fixupToken.Target.Instance; 113if (pendingToken.Target.Instance == instance) 245AddToMultiDict(_dependenciesByParentObject, parentObject.Instance, token); 445object parentInstance = token.Target.Instance;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (11)
2087if (token.Target.Instance is not null) 2290if (token.Target.Instance is not null && 2291!_nameFixupGraph.HasUnresolvedChildren(token.Target.Instance)) 2352!_nameFixupGraph.HasUnresolvedOrPendingChildren(token.Target.Instance); 2357object completedInstance = token.Target.Instance; 2394ExecutePendingAdds(target.InstanceType, target.Instance); 2402Runtime.InitializationGuard(target.InstanceType, target.Instance, false); 2409OnAfterEndInit(target.Instance); 2450SetValue(token.Target.Instance, token.Target.Property, value); 2547List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.Target.Instance]; 2557List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.Target.Instance];