1 write to rootType
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContractSerializer.cs (1)
152
this.
rootType
= type;
6 references to rootType
System.Runtime.Serialization (6)
System\Runtime\Serialization\DataContractSerializer.cs (6)
260
rootContract = DataContract.GetDataContract(((dataContractSurrogate == null) ?
rootType
: GetSurrogatedType(dataContractSurrogate,
rootType
)));
480
if (contract.IsPrimitive && object.ReferenceEquals(contract.UnderlyingType,
rootType
) /*handle Nullable<T> differently*/)
491
return context.InternalDeserialize(xmlReader,
rootType
, contract, null, null);
501
return (graph == null) ?
rootType
: graph.GetType();
506
return
rootType
;