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