1 override of TopLevelElementName
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XmlDataContract.cs (1)
66public override XmlDictionaryString? TopLevelElementName
12 references to TopLevelElementName
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContractSerializer.cs (1)
474expectedName = RootContract.TopLevelElementName;
System\Runtime\Serialization\SchemaExporter.cs (1)
110topLevelElement.Name = dataContract.TopLevelElementName!.Value;
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
228contract.WriteRootElement(writer, contract.TopLevelElementName!, contract.TopLevelElementNamespace); 412if (reader.IsStartElement(contract.TopLevelElementName!, contract.TopLevelElementNamespace!)) 420if (reader.IsStartElement(classContract.TopLevelElementName!, classContract.TopLevelElementNamespace!)) 427if (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)
236return 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) || 1322if (xmlDataContract.TopLevelElementName != null) 1324xmlRootAttribute.Arguments.Add(new CodeAttributeArgument("ElementName", new CodePrimitiveExpression(xmlDataContract.TopLevelElementName.Value)));