1 write to KnownTypesForObject
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
236
dataContractSet.
KnownTypesForObject
= knownDataContracts;
7 references to KnownTypesForObject
System.Runtime.Serialization (7)
System\Runtime\Serialization\CodeExporter.cs (4)
940
if (dataContractSet.
KnownTypesForObject
!= null && SchemaImporter.IsObjectContract(dataContract))
942
return dataContractSet.
KnownTypesForObject
;
967
if (!objectMemberHandled && dataContractSet.
KnownTypesForObject
!= null && SchemaImporter.IsObjectContract(memberContract))
969
AddKnownTypeContracts(dataContract, dataContractSet.
KnownTypesForObject
);
System\Runtime\Serialization\SchemaImporter.cs (3)
217
if (dataContractSet.
KnownTypesForObject
== null)
541
if (dataContractSet.
KnownTypesForObject
!= null)
542
dataContractSet.
KnownTypesForObject
.Remove(typeName);