3 writes to rootTypeDataContract
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
26this.rootTypeDataContract = rootTypeDataContract;
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
33this.rootTypeDataContract = rootTypeDataContract;
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
58this.rootTypeDataContract = rootTypeDataContract;
11 references to rootTypeDataContract
System.Private.DataContractSerialization (11)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
355return XmlObjectSerializerWriteContextComplexJson.ResolveJsonDataContractFromRootDataContract(this, typeQName, rootTypeDataContract!);
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (3)
245Type declaredType = rootTypeDataContract!.UnderlyingType; 251verifyKnownType = WriteTypeInfo(xmlWriter, dataContract, rootTypeDataContract); 398return XmlObjectSerializerWriteContextComplexJson.ResolveJsonDataContractFromRootDataContract(this, typeQName, rootTypeDataContract!);
System\Runtime\Serialization\XmlObjectSerializerContext.cs (4)
272if (dataContract == null && rootTypeDataContract != null) 274if (rootTypeDataContract.XmlName == qname) 275dataContract = rootTypeDataContract; 287CollectionDataContract? collectionContract = rootTypeDataContract as CollectionDataContract;
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (3)
146Debug.Assert(rootTypeDataContract != null); 149Type declaredType = rootTypeDataContract.OriginalUnderlyingType; 160verifyKnownType = WriteTypeInfo(xmlWriter, dataContract, rootTypeDataContract);