16 references to TryAdd
System.Xaml (16)
System\Xaml\Schema\XamlNamespace.cs (1)
92
return XamlSchemaContext.
TryAdd
(_typeCache, typeName, xamlType);
System\Xaml\XamlSchemaContext.cs (15)
162
result =
TryAdd
(_preferredPrefixes, xmlns, result);
229
existingPrefix =
TryAdd
(prefixDict, nsToPrefix.Key, preferredPrefix);
392
compatibleNamespace =
TryAdd
(XmlNsCompatDict, xamlNamespace, compatibleNamespace);
534
xamlType =
TryAdd
(MasterTypeList, type, xamlType);
554
bracketCharacterCache =
TryAdd
(MasterBracketCharacterCache, type, bracketCharacterCache);
600
result =
TryAdd
(MasterValueConverterList, key, result);
612
member =
TryAdd
(MasterMemberList, xpik, member);
624
member =
TryAdd
(MasterMemberList, xpik, member);
637
property =
TryAdd
(MasterMemberList, xpik, property);
649
property =
TryAdd
(MasterMemberList, xpik, property);
931
xamlNamespace =
TryAdd
(NamespaceByUriList, xmlns, xamlNamespace);
984
result =
TryAdd
(XmlnsInfoForDynamicAssemblies, new WeakRefKey(assembly), result);
990
result =
TryAdd
(XmlnsInfo, assembly, result);
995
result =
TryAdd
(XmlnsInfoForUnreferencedAssemblies, assembly, result);
1017
TryAdd
(assemblyMappings, clrNs, result);