7 references to TraditionalDataContract
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\Json\JsonCollectionDataContract.cs (2)
70if (this.TraditionalDataContract.UnderlyingType.IsInterface && (kind == CollectionKind.Enumerable || kind == CollectionKind.Collection || kind == CollectionKind.GenericEnumerable)) 72throw new InvalidDataContractException(SR.Format(SR.GetOnlyCollectionMustHaveAddMethod, DataContract.GetClrTypeFullName(this.TraditionalDataContract.UnderlyingType)));
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
91return TraditionalDataContract.ReadXmlValue(jsonReader, context); 107TraditionalDataContract.WriteXmlValue(jsonWriter, obj, context);
System\Runtime\Serialization\Json\JsonEnumDataContract.cs (2)
30enumValue = Enum.ToObject(TraditionalDataContract.UnderlyingType, jsonReader.ReadElementContentAsUnsignedLong()); 34enumValue = Enum.ToObject(TraditionalDataContract.UnderlyingType, jsonReader.ReadElementContentAsLong());
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
30DataContractSerializer dataContractSerializer = new DataContractSerializer(TraditionalDataContract.UnderlyingType,