8 references to RootContract
System.Runtime.Serialization (8)
System\Runtime\Serialization\DataContractSerializer.cs (8)
351WriteRootElement(writer, RootContract, rootName, rootNamespace, needsContractNsAtRoot);
364DataContract contract = RootContract;
402context = XmlObjectSerializerWriteContext.CreateContext(this, RootContract, dataContractResolver);
436if (!IsRootXmlAny(rootName, RootContract))
463expectedName = RootContract.TopLevelElementName;
464expectedNs = RootContract.TopLevelElementNamespace;
479DataContract contract = RootContract;
496return IsRootElement(reader, RootContract, rootName, rootNamespace);