1 write to _rootType
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContractSerializer.cs (1)
126
_rootType
= type;
8 references to _rootType
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\DataContractSerializer.cs (8)
115
[MemberNotNull(nameof(
_rootType
))]
146
[MemberNotNull(nameof(
_rootType
))]
230
_rootContract = DataContract.GetDataContract((_serializationSurrogateProvider == null) ?
_rootType
: GetSurrogatedType(_serializationSurrogateProvider,
_rootType
));
491
if (contract.IsPrimitive && object.ReferenceEquals(contract.UnderlyingType,
_rootType
) /*handle Nullable<T> differently*/)
503
return context.InternalDeserialize(xmlReader,
_rootType
, contract, null, null);
515
return (graph == null) ?
_rootType
: graph.GetType();
520
return
_rootType
;