1 write to KnownTypesForObject
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
235_dataContractSet.KnownTypesForObject = knownDataContracts;
6 references to KnownTypesForObject
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
217if (_dataContractSet.KnownTypesForObject == null) 536_dataContractSet.KnownTypesForObject?.Remove(typeName);
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
917if (_dataContractSet.KnownTypesForObject != null && IsObjectContract(dataContract)) 919return _dataContractSet.KnownTypesForObject; 945if (!objectMemberHandled && _dataContractSet.KnownTypesForObject != null && IsObjectContract(memberContract)) 947AddKnownTypeContracts(classDataContract, _dataContractSet.KnownTypesForObject);