3 instantiations of NameFixupToken
System.Xaml (3)
System\Xaml\Context\NameFixupGraph.cs (1)
245NameFixupToken token = new NameFixupToken();
System\Xaml\Context\ServiceProviderContext.cs (1)
291var token = new NameFixupToken();
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
2222NameFixupToken token = new NameFixupToken();
100 references to NameFixupToken
System.Xaml (100)
System\Xaml\Context\NameFixupGraph.cs (50)
23Dictionary<object, FrugalObjectList<NameFixupToken>> _dependenciesByParentObject; 26Dictionary<object, NameFixupToken> _dependenciesByChildObject; 29Dictionary<string, FrugalObjectList<NameFixupToken>> _dependenciesByName; 32Queue<NameFixupToken> _resolvedTokensPendingProcessing; 36NameFixupToken _deferredRootProvideValue; 47_dependenciesByChildObject = new Dictionary<object, NameFixupToken>(referenceComparer); 48_dependenciesByName = new Dictionary<string, FrugalObjectList<NameFixupToken>>(StringComparer.Ordinal); 49_dependenciesByParentObject = new Dictionary<object, FrugalObjectList<NameFixupToken>>(referenceComparer); 50_resolvedTokensPendingProcessing = new Queue<NameFixupToken>(); 56public void AddDependency(NameFixupToken fixupToken) 115foreach (NameFixupToken pendingToken in _resolvedTokensPendingProcessing) 136FrugalObjectList<NameFixupToken> dependencies; 143NameFixupToken token = dependencies[i]; 168NameFixupToken token = null; 180FrugalObjectList<NameFixupToken> nameDependencies; 222public NameFixupToken GetNextResolvedTokenPendingProcessing() 230FrugalObjectList<NameFixupToken> dependencies; 245NameFixupToken token = new NameFixupToken(); 256public IEnumerable<NameFixupToken> GetRemainingSimpleFixups() 266FrugalObjectList<NameFixupToken> dependencies = _dependenciesByName[name]; 270NameFixupToken token = dependencies[i]; 289public IEnumerable<NameFixupToken> GetRemainingReparses() 294FrugalObjectList<NameFixupToken> dependencies = _dependenciesByParentObject[parentObj]; 298NameFixupToken token = dependencies[i]; 316FrugalObjectList<NameFixupToken> nameDependencies = _dependenciesByName[name]; 335public IEnumerable<NameFixupToken> GetRemainingObjectDependencies() 345List<NameFixupToken> markupExtensionTokens = new List<NameFixupToken>(); 346foreach (NameFixupToken curToken in _dependenciesByChildObject.Values) 359NameFixupToken meToken = markupExtensionTokens[i]; 360List<NameFixupToken> dependencies = new List<NameFixupToken>(); 369NameFixupToken token = dependencies[j]; 387FrugalObjectList<NameFixupToken> startNodeOutEdges = null; 388foreach (FrugalObjectList<NameFixupToken> list in _dependenciesByParentObject.Values) 395List<NameFixupToken> dependencies = new List<NameFixupToken>(); 400NameFixupToken token = dependencies[j]; 416private bool FindDependencies(NameFixupToken inEdge, List<NameFixupToken> alreadyTraversed) 424FrugalObjectList<NameFixupToken> outEdges; 433NameFixupToken outEdge = outEdges[i]; 447private void RemoveTokenByParent(NameFixupToken token) 450FrugalObjectList<NameFixupToken> parentDependencies = _dependenciesByParentObject[parentInstance]; 463private static void AddToMultiDict<TKey>(Dictionary<TKey, FrugalObjectList<NameFixupToken>> dict, 464TKey key, NameFixupToken value) 466FrugalObjectList<NameFixupToken> tokenList; 469tokenList = new FrugalObjectList<NameFixupToken>(1); 475private static void ThrowProvideValueCycle(IEnumerable<NameFixupToken> markupExtensionTokens) 479foreach (NameFixupToken token in markupExtensionTokens)
System\Xaml\Context\ServiceProviderContext.cs (1)
291var token = new NameFixupToken();
System\Xaml\InfosetObjects\XamlObjectWriter.cs (49)
425bool isFixupToken = _context.CurrentInstance is NameFixupToken; 465isFixupToken = instance is NameFixupToken; 535NameFixupToken token = (NameFixupToken)_lastInstance; 647if (property.IsAttachable && _context.CurrentInstance is NameFixupToken) 649NameFixupToken token = (NameFixupToken)_context.CurrentInstance; 1263if (!(inst is NameFixupToken)) 1466NameFixupToken token = GetTokenForUnresolvedChildren(ctx.CurrentInstance, 1702if (!(value is NameFixupToken)) 1724private void Logic_PendCurrentFixupToken_SetValue(ObjectWriterContext ctx, NameFixupToken token) 1888NameFixupToken keyToken = key as NameFixupToken; 1889NameFixupToken valueToken = value as NameFixupToken; 1957if (value is NameFixupToken && parentProperty != XamlLanguage.Items) 1959NameFixupToken token = value as NameFixupToken; 1989if (value is NameFixupToken) 1991var token = (NameFixupToken)value; 2044if (value is NameFixupToken) 2049NameFixupToken token = (NameFixupToken)value; 2054Logic_PendKeyFixupToken(ctx, (NameFixupToken)value); 2074private void Logic_PendKeyFixupToken(ObjectWriterContext ctx, NameFixupToken token) 2130if (!(inst is NameFixupToken)) 2211NameFixupToken token = GetTokenForUnresolvedChildren( 2219private NameFixupToken GetTokenForUnresolvedChildren(object childThatHasUnresolvedChildren, 2222NameFixupToken token = new NameFixupToken(); 2245List<NameFixupToken> unresolvedRefs = null; 2246IEnumerable<NameFixupToken> simpleFixups = _nameFixupGraph.GetRemainingSimpleFixups(); 2247foreach (NameFixupToken token in simpleFixups) 2254unresolvedRefs = new List<NameFixupToken>(); 2279IEnumerable<NameFixupToken> reparses = _nameFixupGraph.GetRemainingReparses(); 2280foreach (NameFixupToken token in reparses) 2288IEnumerable<NameFixupToken> objectDependencies = _nameFixupGraph.GetRemainingObjectDependencies(); 2289foreach (NameFixupToken token in objectDependencies) 2301private void ThrowUnresolvedRefs(IEnumerable<NameFixupToken> unresolvedRefs) 2305foreach (NameFixupToken token in unresolvedRefs) 2335NameFixupToken token = _nameFixupGraph.GetNextResolvedTokenPendingProcessing(); 2417private void ProcessNameFixup(NameFixupToken token, bool nameResolutionIsComplete) 2439private void ProcessNameFixup_Simple(NameFixupToken token) 2456private void ProcessNameFixup_Reparse(NameFixupToken token, bool nameResolutionIsComplete) 2518NameFixupToken newToken = owc.CurrentInstance as NameFixupToken; 2537private void ProcessNameFixup_UpdatePendingAddKey(NameFixupToken token, object key) 2557private void ProcessNameFixup_UpdatePendingAddItem(NameFixupToken token, object item) 2563if (!(item is NameFixupToken))