5 writes to Instance
System.Xaml (5)
System\Xaml\Context\ServiceProviderContext.cs (3)
317token.Target.Instance = _xamlContext.GrandParentInstance; 332token.Target.Instance = _xamlContext.ParentInstance; 342token.Target.Instance = _xamlContext.ParentInstance;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (2)
2138token.Target.Instance = ctx.GrandParentInstance; 2273token.Target.Instance = ctx.ParentInstance;
16 references to Instance
System.Xaml (16)
System\Xaml\Context\NameFixupGraph.cs (5)
56Debug.Assert(fixupToken.Target.Instance is null && 64object parentObject = fixupToken.Target.Instance; 114if (pendingToken.Target.Instance == instance) 252AddToMultiDict(_dependenciesByParentObject, parentObject.Instance, token); 463object parentInstance = token.Target.Instance;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (11)
2147if (token.Target.Instance is not null) 2356if (token.Target.Instance is not null && 2357!_nameFixupGraph.HasUnresolvedChildren(token.Target.Instance)) 2422!_nameFixupGraph.HasUnresolvedOrPendingChildren(token.Target.Instance); 2427object completedInstance = token.Target.Instance; 2466ExecutePendingAdds(target.InstanceType, target.Instance); 2474Runtime.InitializationGuard(target.InstanceType, target.Instance, false); 2481OnAfterEndInit(target.Instance); 2522SetValue(token.Target.Instance, token.Target.Property, value); 2621List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.Target.Instance]; 2631List<PendingCollectionAdd> pendingCollection = PendingCollectionAdds[token.Target.Instance];