1 write to _rootType
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
596_rootType = type;
8 references to _rootType
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (8)
191_rootContract = DataContract.GetDataContract((_serializationSurrogateProvider == null) ? _rootType : GetSurrogatedType(_serializationSurrogateProvider, _rootType)); 429return _rootType; 434return (graph == null) ? _rootType : graph.GetType(); 471if (contract.IsPrimitive && object.ReferenceEquals(contract.UnderlyingType, _rootType))// handle Nullable<T> differently 477return context.InternalDeserialize(xmlReader, _rootType, contract, null, null); 582[MemberNotNull(nameof(_rootType))] 620[MemberNotNull(nameof(_rootType))]