10 instantiations of XmlSerializerNamespaces
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (1)
XmlSerializerOutputFormatterTest.cs (1)
635
var namespaces = new
XmlSerializerNamespaces
();
System.Private.Xml (9)
System\Xml\Schema\XmlSchema.cs (2)
152
ns = new
XmlSerializerNamespaces
();
181
ns = new
XmlSerializerNamespaces
();
System\Xml\Schema\XmlSchemaObject.cs (1)
51
get => _namespaces ??= new
XmlSerializerNamespaces
();
System\Xml\Schema\XsdBuilder.cs (1)
790
_xso.Namespaces = new
XmlSerializerNamespaces
(_namespaces);
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
154
var xmlns = new
XmlSerializerNamespaces
();
1672
var xmlSerializerNamespaces = new
XmlSerializerNamespaces
();
System\Xml\Serialization\XmlSchemas.cs (1)
582
XmlSerializerNamespaces ns = new
XmlSerializerNamespaces
();
System\Xml\Serialization\XmlSerializationWriter.cs (1)
97
_namespaces = new
XmlSerializerNamespaces
(qnames);
System\Xml\Serialization\XmlSerializer.cs (1)
151
XmlSerializerNamespaces nss = new
XmlSerializerNamespaces
();
42 references to XmlSerializerNamespaces
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (1)
XmlSerializerOutputFormatterTest.cs (1)
635
var
namespaces = new XmlSerializerNamespaces();
netstandard (1)
netstandard.cs (1)
2445
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlSerializerNamespaces
))]
System.Private.Xml (36)
System\Xml\Schema\XmlSchema.cs (1)
148
XmlSerializerNamespaces
ns;
System\Xml\Schema\XmlSchemaObject.cs (2)
14
private
XmlSerializerNamespaces
? _namespaces;
49
public
XmlSerializerNamespaces
Namespaces
System\Xml\Serialization\Compilation.cs (1)
634
internal void InvokeWriter(XmlMapping mapping, XmlWriter xmlWriter, object? o,
XmlSerializerNamespaces
? namespaces, string? encodingStyle, string? id)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
154
var
xmlns = new XmlSerializerNamespaces();
1672
var
xmlSerializerNamespaces = new XmlSerializerNamespaces();
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (5)
20
public ReflectionXmlSerializationWriter(XmlMapping xmlMapping, XmlWriter xmlWriter,
XmlSerializerNamespaces
namespaces, string? encodingStyle, string? id)
549
XmlSerializerNamespaces
? xmlnsSource = null;
555
xmlnsSource = (
XmlSerializerNamespaces
?)GetMemberValue(o!, member.Name);
1204
var
source = (
XmlSerializerNamespaces
)p[xmlnsMember];
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1860
if (accessorType != typeof(System.Xml.Serialization.
XmlSerializerNamespaces
))
1862
throw new InvalidOperationException(SR.Format(SR.XmlXmlnsInvalidType, accessorName, accessorType.FullName, typeof(System.Xml.Serialization.
XmlSerializerNamespaces
).FullName));
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1549
TypeDesc xmlnsTypeDesc = Scope.GetTypeDesc(typeof(System.Xml.Serialization.
XmlSerializerNamespaces
));
System\Xml\Serialization\XmlSchemas.cs (1)
582
XmlSerializerNamespaces
ns = new XmlSerializerNamespaces();
System\Xml\Serialization\XmlSerializationWriter.cs (6)
28
private
XmlSerializerNamespaces
? _namespaces;
45
internal void Init(XmlWriter w,
XmlSerializerNamespaces
? namespaces, string? encodingStyle, string? idBase)
496
protected void WriteStartElement(string name, string? ns, object? o, bool writePrefixed,
XmlSerializerNamespaces
? xmlns)
564
private static HashSet<int>? ListUsedPrefixes(
XmlSerializerNamespaces
nsList, string prefix)
1435
protected void WriteNamespaceDeclarations(
XmlSerializerNamespaces
? xmlns)
2635
string source = $"(({typeof(System.Xml.Serialization.
XmlSerializerNamespaces
).FullName})p[{xmlnsMember}])";
System\Xml\Serialization\XmlSerializationWriterILGen.cs (4)
396
string source = string.Create(CultureInfo.InvariantCulture, $"(({typeof(
XmlSerializerNamespaces
).FullName})p[{xmlnsMember}])");
1049
new Type[] { typeof(string), typeof(string), typeof(object), typeof(bool), typeof(
XmlSerializerNamespaces
) }
2197
new Type[] { typeof(
XmlSerializerNamespaces
) }
2200
ILGenLoad(source, typeof(
XmlSerializerNamespaces
));
System\Xml\Serialization\XmlSerializer.cs (10)
142
private static volatile
XmlSerializerNamespaces
? s_defaultNamespaces;
145
private static
XmlSerializerNamespaces
DefaultNamespaces
151
XmlSerializerNamespaces
nss = new XmlSerializerNamespaces();
341
public void Serialize(TextWriter textWriter, object? o,
XmlSerializerNamespaces
? namespaces)
356
public void Serialize(Stream stream, object? o,
XmlSerializerNamespaces
? namespaces)
371
public void Serialize(XmlWriter xmlWriter, object? o,
XmlSerializerNamespaces
? namespaces)
378
public void Serialize(XmlWriter xmlWriter, object? o,
XmlSerializerNamespaces
? namespaces, string? encodingStyle)
385
public void Serialize(XmlWriter xmlWriter, object? o,
XmlSerializerNamespaces
? namespaces, string? encodingStyle, string? id)
424
private void SerializeUsingReflection(XmlWriter xmlWriter, object? o,
XmlSerializerNamespaces
? namespaces, string? encodingStyle, string? id)
857
private void SerializePrimitive(XmlWriter xmlWriter, object? o,
XmlSerializerNamespaces
? namespaces)
System\Xml\Serialization\XmlSerializerNamespaces.cs (1)
33
public XmlSerializerNamespaces(
XmlSerializerNamespaces
namespaces)
System.Xml (1)
System.Xml.cs (1)
170
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlSerializerNamespaces
))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
114
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlSerializerNamespaces
))]
System.Xml.Serialization (1)
System.Xml.Serialization.cs (1)
27
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlSerializerNamespaces
))]
System.Xml.XmlSerializer (1)
artifacts\obj\System.Xml.XmlSerializer\Debug\net10.0\System.Xml.XmlSerializer.Forwards.cs (1)
68
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlSerializerNamespaces
))]