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