1 write to _dataContractSet
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
43
_dataContractSet
= dataContractSet;
21 references to _dataContractSet
System.Runtime.Serialization.Schema (21)
System\Runtime\Serialization\Schema\CodeExporter.cs (21)
211
foreach (KeyValuePair<XmlQualifiedName, DataContract> pair in
_dataContractSet
.Contracts)
378
get { return
_dataContractSet
.GetDataContract(typeof(List<>)); }
391
get { return
_dataContractSet
.GetDataContract(typeof(Dictionary<,>)); }
397
if (
_dataContractSet
.ProcessedContracts.TryGetValue(dataContract, out object? info))
402
_dataContractSet
.ProcessedContracts.Add(dataContract, contractCodeDomInfo);
460
type.UserData.Add(s_surrogateDataKey,
_dataContractSet
.SurrogateData[dataContract]);
478
DataContract? containingDataContract =
_dataContractSet
.GetDataContract(new XmlQualifiedName(containingTypeName, dataContract.XmlName.Namespace));
541
Type? type =
_dataContractSet
.GetReferencedType(dataContract.XmlName, dataContract, out DataContract? referencedContract, out object[]? parameters, SupportsGenericTypeReference);
550
if (!xmlContract.Equals(
_dataContractSet
.GetDataContract(type)))
562
referencedContract =
_dataContractSet
.GetDataContract(type);
655
Type? type =
_dataContractSet
.GetReferencedType(GenericDictionaryName, GenericDictionaryContract, out DataContract? _, out object[]? _) ?? typeof(Dictionary<,>);
685
Type? type =
_dataContractSet
.GetReferencedType(GenericListName, GenericListContract, out DataContract? _, out object[]? _);
717
type = surrogateProvider.GetReferencedTypeOnImport(dataContract.XmlName.Name, dataContract.XmlName.Namespace,
_dataContractSet
.SurrogateData[dataContract]);
859
object? surrogateData =
_dataContractSet
.SurrogateData[dataMember];
917
if (
_dataContractSet
.KnownTypesForObject != null && IsObjectContract(dataContract))
919
return
_dataContractSet
.KnownTypesForObject;
945
if (!objectMemberHandled &&
_dataContractSet
.KnownTypesForObject != null && IsObjectContract(memberContract))
947
AddKnownTypeContracts(classDataContract,
_dataContractSet
.KnownTypesForObject);
1173
if (keyValueContract != null &&
_dataContractSet
.GetDataContract(keyValueContract.XmlName) == null)
1176
if (
_dataContractSet
.ProcessedContracts.TryGetValue(keyValueContract, out object? info))
1181
_dataContractSet
.ProcessedContracts.Add(keyValueContract, contractCodeDomInfo);