4 writes to Namespaces
System.Private.Xml (4)
System\Xml\Schema\Inference\Infer.cs (1)
2401
newElement.
Namespaces
= copyElement.Namespaces;
System\Xml\Schema\XmlSchema.cs (2)
439
that.
Namespaces
= this.Namespaces;
493
that.
Namespaces
= this.Namespaces;
System\Xml\Schema\XsdBuilder.cs (1)
790
_xso.
Namespaces
= new XmlSerializerNamespaces(_namespaces);
24 references to Namespaces
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
2746
XmlQualifiedName[] qualifiedNames = schemaRoot.
Namespaces
.ToArray();
2762
XmlQualifiedName[] qualifiedNames = schemaRoot.
Namespaces
.ToArray();
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\SchemaExporter.cs (3)
179
schema.
Namespaces
.Add(Globals.SerPrefixForSchema, Globals.SerializationNamespace);
195
schema.
Namespaces
.Add(Globals.SerPrefixForSchema, Globals.SerializationNamespace);
480
schema.
Namespaces
.Add(Globals.SerPrefixForSchema, Globals.SerializationNamespace);
System\Runtime\Serialization\SchemaHelper.cs (1)
138
schema.
Namespaces
.Add(Globals.TnsPrefix, ns);
System.Private.Xml (18)
System\Xml\Schema\Inference\Infer.cs (2)
249
_rootSchema!.
Namespaces
.Add(prefix, ns);
2401
newElement.Namespaces = copyElement.
Namespaces
;
System\Xml\Schema\Preprocessor.cs (1)
427
tempSchema.
Namespaces
.Add("xml", XmlReservedNs.NsXml);
System\Xml\Schema\SchemaNamespacemanager.cs (2)
28
if (current.
Namespaces
.TryLookupNamespace(prefix, out string? uri))
43
if (current.
Namespaces
.TryLookupPrefix(ns, out string? prefix))
System\Xml\Schema\XmlSchema.cs (11)
154
if (this.
Namespaces
!= null)
156
ignoreXS = this.
Namespaces
.TryLookupPrefix("xs", out _) || this.
Namespaces
.TryLookupNamespace(XmlReservedNs.NsXs, out _);
171
else if (this.
Namespaces
!= null && this.
Namespaces
.Count > 0)
173
if (!this.
Namespaces
.TryLookupPrefix("xs", out _) && !this.
Namespaces
.TryLookupNamespace(XmlReservedNs.NsXs, out _))
175
this.
Namespaces
.Add("xs", XmlReservedNs.NsXs);
177
ns = this.
Namespaces
;
439
that.Namespaces = this.
Namespaces
;
493
that.Namespaces = this.
Namespaces
;
System\Xml\Serialization\Types.cs (2)
1393
if (parent.
Namespaces
!= null)
1395
if (parent.
Namespaces
.TryLookupNamespace(ns, out string? wsdlNs) && wsdlNs != null)