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