16 references to TryAdd
System.Xaml (16)
System\Xaml\Schema\XamlNamespace.cs (1)
93
return XamlSchemaContext.
TryAdd
(_typeCache, typeName, xamlType);
System\Xaml\XamlSchemaContext.cs (15)
168
result =
TryAdd
(_preferredPrefixes, xmlns, result);
240
existingPrefix =
TryAdd
(prefixDict, nsToPrefix.Key, preferredPrefix);
410
compatibleNamespace =
TryAdd
(XmlNsCompatDict, xamlNamespace, compatibleNamespace);
556
xamlType =
TryAdd
(MasterTypeList, type, xamlType);
577
bracketCharacterCache =
TryAdd
(MasterBracketCharacterCache, type, bracketCharacterCache);
623
result =
TryAdd
(MasterValueConverterList, key, result);
636
member =
TryAdd
(MasterMemberList, xpik, member);
649
member =
TryAdd
(MasterMemberList, xpik, member);
663
property =
TryAdd
(MasterMemberList, xpik, property);
676
property =
TryAdd
(MasterMemberList, xpik, property);
966
xamlNamespace =
TryAdd
(NamespaceByUriList, xmlns, xamlNamespace);
1019
result =
TryAdd
(XmlnsInfoForDynamicAssemblies, new WeakRefKey(assembly), result);
1025
result =
TryAdd
(XmlnsInfo, assembly, result);
1030
result =
TryAdd
(XmlnsInfoForUnreferencedAssemblies, assembly, result);
1051
TryAdd
(assemblyMappings, clrNs, result);