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