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)); 491if (contract.IsPrimitive && object.ReferenceEquals(contract.UnderlyingType, _rootType) /*handle Nullable<T> differently*/) 503return context.InternalDeserialize(xmlReader, _rootType, contract, null, null); 515return (graph == null) ? _rootType : graph.GetType(); 520return _rootType;