1 instantiation of XmlNsInfo
System.Xaml (1)
System\Xaml\XamlSchemaContext.cs (1)
1014
result = new
XmlNsInfo
(assembly, FullyQualifyAssemblyNamesInClrNamespaces);
29 references to XmlNsInfo
System.Xaml (29)
System\Xaml\MS\Impl\XmlNsInfo.cs (2)
451
XmlNsInfo
_nsInfo;
454
public NamespaceComparer(
XmlNsInfo
nsInfo, Assembly assembly)
System\Xaml\XamlSchemaContext.cs (27)
223
foreach (
XmlNsInfo
nsInfo in EnumerateXmlnsInfos())
232
void UpdatePreferredPrefixes(
XmlNsInfo
newNamespaces, ConcurrentDictionary<string, string> prefixDict)
245
preferredPrefix =
XmlNsInfo
.GetPreferredPrefix(existingPrefix, preferredPrefix);
431
foreach (
XmlNsInfo
nsInfo in EnumerateXmlnsInfos())
710
private ConcurrentDictionary<Assembly,
XmlNsInfo
> _xmlnsInfo;
711
private ConcurrentDictionary<WeakRefKey,
XmlNsInfo
> _xmlnsInfoForDynamicAssemblies;
712
private ConcurrentDictionary<Assembly,
XmlNsInfo
> _xmlnsInfoForUnreferencedAssemblies;
727
private ConcurrentDictionary<Assembly,
XmlNsInfo
> XmlnsInfo
732
Interlocked.CompareExchange(ref _xmlnsInfo, CreateDictionary<Assembly,
XmlNsInfo
>(ReferenceEqualityComparer.Instance), null);
738
private ConcurrentDictionary<WeakRefKey,
XmlNsInfo
> XmlnsInfoForDynamicAssemblies
743
Interlocked.CompareExchange(ref _xmlnsInfoForDynamicAssemblies, CreateDictionary<WeakRefKey,
XmlNsInfo
>(), null);
764
private ConcurrentDictionary<Assembly,
XmlNsInfo
> XmlnsInfoForUnreferencedAssemblies
770
Interlocked.CompareExchange(ref _xmlnsInfoForUnreferencedAssemblies, CreateDictionary<Assembly,
XmlNsInfo
>(ReferenceEqualityComparer.Instance), null);
784
XmlNsInfo
nsInfo = GetXmlNsInfo(fromAssembly);
891
private IEnumerable<
XmlNsInfo
> EnumerateXmlnsInfos()
903
private IEnumerable<
XmlNsInfo
> EnumerateStaticAndDynamicXmlnsInfos()
905
foreach (
XmlNsInfo
result in XmlnsInfo.Values)
910
foreach (
XmlNsInfo
result in XmlnsInfoForDynamicAssemblies.Values)
918
XmlNsInfo
nsInfo = GetXmlNsInfo(asm);
970
private
XmlNsInfo
GetXmlNsInfo(Assembly assembly)
972
XmlNsInfo
result;
1038
XmlNsInfo
nsInfo = GetXmlNsInfo(assembly);
1134
XmlNsInfo
nsInfo = GetXmlNsInfo(assembly);
1173
private bool UpdateXmlNsInfo(
XmlNsInfo
nsInfo)
1184
bool UpdateNamespaceByUriList(
XmlNsInfo
nsInfo)
1187
IList<
XmlNsInfo
.XmlNsDefinition> xmlnsDefs = nsInfo.NsDefs;
1191
XmlNsInfo
.XmlNsDefinition xmlnsDef = xmlnsDefs[i];