15 references to Add
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (1)
XmlSerializerOutputFormatterTest.cs (1)
636namespaces.Add("", "");
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 (10)
System\Xml\Schema\Inference\Infer.cs (1)
249_rootSchema!.Namespaces.Add(prefix, ns);
System\Xml\Schema\Preprocessor.cs (1)
427tempSchema.Namespaces.Add("xml", XmlReservedNs.NsXml);
System\Xml\Schema\XmlSchema.cs (5)
161ns.Add("xs", XmlReservedNs.NsXs); 167ns.Add(prefix, namespaceManager.LookupNamespace(prefix!)); 175this.Namespaces.Add("xs", XmlReservedNs.NsXs); 182ns.Add("xs", XmlSchema.Namespace); 185ns.Add("tns", _targetNs);
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
156member.XmlnsSource = xmlns.Add; 1675member.XmlnsSource = xmlSerializerNamespaces.Add;
System\Xml\Serialization\XmlSchemas.cs (1)
583ns.Add("xs", XmlSchema.Namespace);