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