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