16 references to TryAdd
System.Xaml (16)
System\Xaml\Schema\XamlNamespace.cs (1)
94
return XamlSchemaContext.
TryAdd
(_typeCache, typeName, xamlType);
System\Xaml\XamlSchemaContext.cs (15)
164
result =
TryAdd
(_preferredPrefixes, xmlns, result);
231
existingPrefix =
TryAdd
(prefixDict, nsToPrefix.Key, preferredPrefix);
394
compatibleNamespace =
TryAdd
(XmlNsCompatDict, xamlNamespace, compatibleNamespace);
536
xamlType =
TryAdd
(MasterTypeList, type, xamlType);
556
bracketCharacterCache =
TryAdd
(MasterBracketCharacterCache, type, bracketCharacterCache);
602
result =
TryAdd
(MasterValueConverterList, key, result);
614
member =
TryAdd
(MasterMemberList, xpik, member);
626
member =
TryAdd
(MasterMemberList, xpik, member);
639
property =
TryAdd
(MasterMemberList, xpik, property);
651
property =
TryAdd
(MasterMemberList, xpik, property);
933
xamlNamespace =
TryAdd
(NamespaceByUriList, xmlns, xamlNamespace);
986
result =
TryAdd
(XmlnsInfoForDynamicAssemblies, new WeakRefKey(assembly), result);
992
result =
TryAdd
(XmlnsInfo, assembly, result);
997
result =
TryAdd
(XmlnsInfoForUnreferencedAssemblies, assembly, result);
1019
TryAdd
(assemblyMappings, clrNs, result);