1 instantiation of XmlNsInfo
System.Xaml (1)
System\Xaml\XamlSchemaContext.cs (1)
981
result = new
XmlNsInfo
(assembly, FullyQualifyAssemblyNamesInClrNamespaces);
29 references to XmlNsInfo
System.Xaml (29)
System\Xaml\MS\Impl\XmlNsInfo.cs (2)
431
XmlNsInfo
_nsInfo;
434
public NamespaceComparer(
XmlNsInfo
nsInfo, Assembly assembly)
System\Xaml\XamlSchemaContext.cs (27)
215
foreach (
XmlNsInfo
nsInfo in EnumerateXmlnsInfos())
223
void UpdatePreferredPrefixes(
XmlNsInfo
newNamespaces, ConcurrentDictionary<string, string> prefixDict)
235
preferredPrefix =
XmlNsInfo
.GetPreferredPrefix(existingPrefix, preferredPrefix);
415
foreach (
XmlNsInfo
nsInfo in EnumerateXmlnsInfos())
684
private ConcurrentDictionary<Assembly,
XmlNsInfo
> _xmlnsInfo;
685
private ConcurrentDictionary<WeakRefKey,
XmlNsInfo
> _xmlnsInfoForDynamicAssemblies;
686
private ConcurrentDictionary<Assembly,
XmlNsInfo
> _xmlnsInfoForUnreferencedAssemblies;
701
private ConcurrentDictionary<Assembly,
XmlNsInfo
> XmlnsInfo
706
Interlocked.CompareExchange(ref _xmlnsInfo, CreateDictionary<Assembly,
XmlNsInfo
>(ReferenceEqualityComparer.Instance), null);
712
private ConcurrentDictionary<WeakRefKey,
XmlNsInfo
> XmlnsInfoForDynamicAssemblies
717
Interlocked.CompareExchange(ref _xmlnsInfoForDynamicAssemblies, CreateDictionary<WeakRefKey,
XmlNsInfo
>(), null);
738
private ConcurrentDictionary<Assembly,
XmlNsInfo
> XmlnsInfoForUnreferencedAssemblies
744
Interlocked.CompareExchange(ref _xmlnsInfoForUnreferencedAssemblies, CreateDictionary<Assembly,
XmlNsInfo
>(ReferenceEqualityComparer.Instance), null);
756
XmlNsInfo
nsInfo = GetXmlNsInfo(fromAssembly);
860
private IEnumerable<
XmlNsInfo
> EnumerateXmlnsInfos()
872
private IEnumerable<
XmlNsInfo
> EnumerateStaticAndDynamicXmlnsInfos()
874
foreach (
XmlNsInfo
result in XmlnsInfo.Values)
878
foreach (
XmlNsInfo
result in XmlnsInfoForDynamicAssemblies.Values)
886
XmlNsInfo
nsInfo = GetXmlNsInfo(asm);
937
private
XmlNsInfo
GetXmlNsInfo(Assembly assembly)
939
XmlNsInfo
result;
1005
XmlNsInfo
nsInfo = GetXmlNsInfo(assembly);
1100
XmlNsInfo
nsInfo = GetXmlNsInfo(assembly);
1138
private bool UpdateXmlNsInfo(
XmlNsInfo
nsInfo)
1148
bool UpdateNamespaceByUriList(
XmlNsInfo
nsInfo)
1151
IList<
XmlNsInfo
.XmlNsDefinition> xmlnsDefs = nsInfo.NsDefs;
1155
XmlNsInfo
.XmlNsDefinition xmlnsDef = xmlnsDefs[i];