1 override of TopLevelElementName
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XmlDataContract.cs (1)
66
public override XmlDictionaryString?
TopLevelElementName
12 references to TopLevelElementName
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContractSerializer.cs (1)
474
expectedName = RootContract.
TopLevelElementName
;
System\Runtime\Serialization\SchemaExporter.cs (1)
110
topLevelElement.Name = dataContract.
TopLevelElementName
!.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)
114
_xPathBuilder = new StringBuilder(XPathQueryGenerator.XPathSeparator + prefix + XPathQueryGenerator.NsSeparator + rootContract.
TopLevelElementName
!.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)
1315
(xmlDataContract.
TopLevelElementName
!= null && xmlDataContract.
TopLevelElementName
.Value != xmlDataContract.XmlName.Name) ||
1322
if (xmlDataContract.
TopLevelElementName
!= null)
1324
xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("ElementName", new CodePrimitiveExpression(xmlDataContract.
TopLevelElementName
.Value)));