5 writes to Instance
System.Xaml (5)
System\Xaml\Context\ServiceProviderContext.cs (3)
318token.Target.Instance = _xamlContext.GrandParentInstance; 333token.Target.Instance = _xamlContext.ParentInstance; 343token.Target.Instance = _xamlContext.ParentInstance;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (2)
2139token.Target.Instance = ctx.GrandParentInstance; 2274token.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; 115if (pendingToken.Target.Instance == instance) 253AddToMultiDict(_dependenciesByParentObject, parentObject.Instance, token); 464object parentInstance = token.Target.Instance;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (11)
2148if (token.Target.Instance is not null) 2357if (token.Target.Instance is not null && 2358!_nameFixupGraph.HasUnresolvedChildren(token.Target.Instance)) 2423!_nameFixupGraph.HasUnresolvedOrPendingChildren(token.Target.Instance); 2428object completedInstance = token.Target.Instance; 2467ExecutePendingAdds(target.InstanceType, target.Instance); 2475Runtime.InitializationGuard(target.InstanceType, target.Instance, false); 2482OnAfterEndInit(target.Instance); 2523SetValue(token.Target.Instance, token.Target.Property, value); 2622List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.Target.Instance]; 2632List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.Target.Instance];