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