8 references to RootContract
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContractSerializer.cs (8)
355WriteRootElement(writer, RootContract, _rootName, _rootNamespace, _needsContractNsAtRoot); 372DataContract contract = RootContract; 411context = XmlObjectSerializerWriteContext.CreateContext(this, RootContract, dataContractResolver); 444if (!IsRootXmlAny(_rootName, RootContract)) 474expectedName = RootContract.TopLevelElementName; 475expectedNs = RootContract.TopLevelElementNamespace; 490DataContract contract = RootContract; 510return IsRootElement(reader, RootContract, _rootName, _rootNamespace);