1 write to _dataContractSet
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
37_dataContractSet = dataContractSet;
19 references to _dataContractSet
System.Private.DataContractSerialization (19)
System\Runtime\Serialization\SchemaImporter.cs (19)
217if (_dataContractSet.KnownTypesForObject == null) 235_dataContractSet.KnownTypesForObject = knownDataContracts; 411DataContract? dataContract = _dataContractSet.GetDataContract(typeName); 442_dataContractSet.InternalAdd(typeName, dataContract); 503if (_dataContractSet.TryGetReferencedType(typeName, dataContract, out referencedType) 504|| (string.IsNullOrEmpty(type.Name) && _dataContractSet.TryGetReferencedType(ImportActualType(type.Annotation, typeName, typeName), dataContract, out referencedType))) 515_dataContractSet.Remove(typeName); 526ClassDataContract? oldContract = _dataContractSet.GetDataContract(typeName) as ClassDataContract; 527_dataContractSet.Remove(typeName); 536_dataContractSet.KnownTypesForObject?.Remove(typeName); 698DataContract? dataContract = _dataContractSet.GetDataContract(typeName); 740if (_dataContractSet.TryGetReferencedType(xlinqTypeName, null, out referencedType) 1016_dataContractSet.SetSurrogateData(dataMember, ImportSurrogateData(ImportAnnotation(element.Annotation, surrogateDataAnnotationName), surrogateDataAnnotationName.Name, surrogateDataAnnotationName.Namespace)); 1081DataContract? contract = _dataContractSet.GetDataContract(shortName); 1120_dataContractSet.Remove(keyValueContract.XmlName); 1255_dataContractSet.SetSurrogateData(dataContract, surrogateData); 1334if (_dataContractSet.SerializationExtendedSurrogateProvider != null && typeElement != null) 1337DataContractSurrogateCaller.GetKnownCustomDataTypes(_dataContractSet.SerializationExtendedSurrogateProvider, knownTypes); 1407_dataContractSet.Add(dataContract.XmlName, dataContract);