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