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