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