5 references to RootName
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (5)
432if (IsRootElement(reader, RootContract, RootName, XmlDictionaryString.Empty)) 437return IsJsonLocalName(reader, RootName.Value); 453throw XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.Format(SR.ExpectingElement, XmlDictionaryString.Empty, RootName), xmlReader); 548writer.WriteAttributeString(null, JsonGlobals.itemString, null, RootName.Value); 552writer.WriteStartElement(RootName, XmlDictionaryString.Empty);