20 references to GetDataContract
System.Runtime.Serialization (20)
System\Runtime\Serialization\ClassDataContract.cs (1)
716DataContract baseContract = DataContract.GetDataContract(baseType);
System\Runtime\Serialization\CodeExporter.cs (1)
748dataContract = DataContract.GetDataContract(type).BindGenericParameters(paramContracts, new Dictionary<DataContract, DataContract>());
System\Runtime\Serialization\CollectionDataContract.cs (2)
677DataContract.GetDataContract(ItemType); 681itemContract = DataContract.GetDataContract(ItemType);
System\Runtime\Serialization\DataContract.cs (1)
2241DataContract dataContract = DataContract.GetDataContract(type);
System\Runtime\Serialization\DataContractSerializer.cs (1)
260rootContract = DataContract.GetDataContract(((dataContractSurrogate == null) ? rootType : GetSurrogatedType(dataContractSurrogate, rootType)));
System\Runtime\Serialization\DataContractSet.cs (2)
239return DataContract.GetDataContract(clrType); 246dataContract = DataContract.GetDataContract(dcType);
System\Runtime\Serialization\DataMember.cs (1)
241memberTypeContract = DataContract.GetDataContract(MemberType);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
210rootContract = DataContract.GetDataContract(((dataContractSurrogate == null) ? rootType :
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
323DataContract itemDataContract = DataContract.GetDataContract(Globals.TypeOfKeyValuePair.MakeGenericType(collectionDataContract.ItemType.GetGenericArguments()));
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
1018ClassDataContract keyValuePairContract = DataContract.GetDataContract(value.LocalType) as ClassDataContract;
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
46return DataContractJsonSerializer.ReadJsonValue(DataContract.GetDataContract(Globals.TypeOfObjectArray), jsonReader, context);
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
188return DataContract.GetDataContract(oldItemContract.UnderlyingType);
System\Runtime\Serialization\KnownTypeDataContractResolver.cs (1)
38DataContract contract = DataContract.GetDataContract(type);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
869ClassDataContract keyValuePairContract = DataContract.GetDataContract(value.LocalType) as ClassDataContract;
System\Runtime\Serialization\XPathQueryGenerator.cs (1)
35DataContract currentContract = DataContract.GetDataContract(type);
System\Runtime\Serialization\XsdDataContractExporter.cs (3)
193DataContract dataContract = DataContract.GetDataContract(type); 206DataContract dataContract = DataContract.GetDataContract(type); 219DataContract dataContract = DataContract.GetDataContract(type);