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)
217
if (
_dataContractSet
.KnownTypesForObject == null)
235
_dataContractSet
.KnownTypesForObject = knownDataContracts;
411
DataContract? dataContract =
_dataContractSet
.GetDataContract(typeName);
442
_dataContractSet
.InternalAdd(typeName, dataContract);
503
if (
_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);
526
ClassDataContract? oldContract =
_dataContractSet
.GetDataContract(typeName) as ClassDataContract;
527
_dataContractSet
.Remove(typeName);
536
_dataContractSet
.KnownTypesForObject?.Remove(typeName);
698
DataContract? dataContract =
_dataContractSet
.GetDataContract(typeName);
740
if (
_dataContractSet
.TryGetReferencedType(xlinqTypeName, null, out referencedType)
1016
_dataContractSet
.SetSurrogateData(dataMember, ImportSurrogateData(ImportAnnotation(element.Annotation, surrogateDataAnnotationName), surrogateDataAnnotationName.Name, surrogateDataAnnotationName.Namespace));
1081
DataContract? contract =
_dataContractSet
.GetDataContract(shortName);
1120
_dataContractSet
.Remove(keyValueContract.XmlName);
1255
_dataContractSet
.SetSurrogateData(dataContract, surrogateData);
1334
if (
_dataContractSet
.SerializationExtendedSurrogateProvider != null && typeElement != null)
1337
DataContractSurrogateCaller.GetKnownCustomDataTypes(
_dataContractSet
.SerializationExtendedSurrogateProvider, knownTypes);
1407
_dataContractSet
.Add(dataContract.XmlName, dataContract);