1 write to rootType
System.Runtime.Serialization (1)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
539
this.
rootType
= type;
6 references to rootType
System.Runtime.Serialization (6)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (6)
210
rootContract = DataContract.GetDataContract(((dataContractSurrogate == null) ?
rootType
:
211
DataContractSerializer.GetSurrogatedType(dataContractSurrogate,
rootType
)));
389
return
rootType
;
394
return (graph == null) ?
rootType
: graph.GetType();
427
if (contract.IsPrimitive && object.ReferenceEquals(contract.UnderlyingType,
rootType
))// handle Nullable<T> differently
433
return context.InternalDeserialize(xmlReader,
rootType
, contract, null, null);