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