2 overrides of TopLevelElementNamespace
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\PrimitiveDataContract.cs (1)
47
public override XmlDictionaryString?
TopLevelElementNamespace
System\Runtime\Serialization\XmlDataContract.cs (1)
72
public override XmlDictionaryString?
TopLevelElementNamespace
13 references to TopLevelElementNamespace
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\DataContractSerializer.cs (1)
475
expectedNs = RootContract.
TopLevelElementNamespace
;
System\Runtime\Serialization\SchemaExporter.cs (2)
106
if (schema == null || dataContract.XmlName.Namespace != dataContract.
TopLevelElementNamespace
!.Value)
107
schema = GetSchema(dataContract.
TopLevelElementNamespace
!.Value);
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
228
contract.WriteRootElement(writer, contract.TopLevelElementName!, contract.
TopLevelElementNamespace
);
412
if (reader.IsStartElement(contract.TopLevelElementName!, contract.
TopLevelElementNamespace
!))
420
if (reader.IsStartElement(classContract.TopLevelElementName!, classContract.
TopLevelElementNamespace
!))
427
if (reader.IsStartElement(objectContract.TopLevelElementName!, objectContract.
TopLevelElementNamespace
!))
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
113
string prefix = SetNamespace(rootContract.
TopLevelElementNamespace
!.Value);
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
236
return new XmlQualifiedName(dataContract.TopLevelElementName!.Value, dataContract.
TopLevelElementNamespace
!.Value);
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
1316
(xmlDataContract.
TopLevelElementNamespace
!= null && xmlDataContract.
TopLevelElementNamespace
.Value != xmlDataContract.XmlName.Namespace);
1326
if (xmlDataContract.
TopLevelElementNamespace
!= null)
1328
xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(xmlDataContract.
TopLevelElementNamespace
.Value)));