6 references to TryLookupNamespace
System.Private.Xml (6)
System\Xml\Schema\SchemaNamespacemanager.cs (1)
28
if (current.Namespaces.
TryLookupNamespace
(prefix, out string? uri))
System\Xml\Schema\XmlSchema.cs (2)
156
ignoreXS = this.Namespaces.TryLookupPrefix("xs", out _) || this.Namespaces.
TryLookupNamespace
(XmlReservedNs.NsXs, out _);
173
if (!this.Namespaces.TryLookupPrefix("xs", out _) && !this.Namespaces.
TryLookupNamespace
(XmlReservedNs.NsXs, out _))
System\Xml\Serialization\Types.cs (1)
1395
if (parent.Namespaces.
TryLookupNamespace
(ns, out string? wsdlNs) && wsdlNs != null)
System\Xml\Serialization\XmlSerializationWriter.cs (2)
510
if (_namespaces.
TryLookupNamespace
("", out string? defaultNS))
1446
if (_namespaces.
TryLookupNamespace
(prefix, out oldNs) && oldNs != null && oldNs != ns)