3 overrides of KnownDataContracts
System.Runtime.Serialization (3)
System\Runtime\Serialization\ClassDataContract.cs (1)
181
internal override DataContractDictionary
KnownDataContracts
System\Runtime\Serialization\CollectionDataContract.cs (1)
344
internal override DataContractDictionary
KnownDataContracts
System\Runtime\Serialization\XmlDataContract.cs (1)
47
internal override DataContractDictionary
KnownDataContracts
13 references to KnownDataContracts
System.Runtime.Serialization (13)
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
300
if (traditionalDataContract.
KnownDataContracts
!= null)
302
foreach (KeyValuePair<XmlQualifiedName, DataContract> knownDataContract in traditionalDataContract.
KnownDataContracts
)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (2)
348
if (dataContract.
KnownDataContracts
!= null)
350
scopedKnownTypes.Push(dataContract.
KnownDataContracts
);
System\Runtime\Serialization\KnownTypeDataContractResolver.cs (1)
39
if (context.IsKnownType(contract, contract.
KnownDataContracts
, declaredType))
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (4)
177
if (dataContract.
KnownDataContracts
!= null)
179
scopedKnownTypes.Push(dataContract.
KnownDataContracts
);
194
knownTypesAddedInCurrentScope = ReplaceScopedKnownTypesTop(dataContract.
KnownDataContracts
, knownTypesAddedInCurrentScope);
205
knownTypesAddedInCurrentScope = ReplaceScopedKnownTypesTop(dataContract.
KnownDataContracts
, knownTypesAddedInCurrentScope);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (4)
150
if (dataContract.
KnownDataContracts
!= null)
152
scopedKnownTypes.Push(dataContract.
KnownDataContracts
);
253
if (dataContract.
KnownDataContracts
!= null)
255
scopedKnownTypes.Push(dataContract.
KnownDataContracts
);