1 write to dataContractSet
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
41
this.
dataContractSet
= dataContractSet;
20 references to dataContractSet
System.Runtime.Serialization (20)
System\Runtime\Serialization\SchemaImporter.cs (20)
217
if (
dataContractSet
.KnownTypesForObject == null)
236
dataContractSet
.KnownTypesForObject = knownDataContracts;
413
DataContract dataContract =
dataContractSet
[typeName];
446
dataContractSet
.InternalAdd(typeName, dataContract);
510
if (
dataContractSet
.TryGetReferencedType(typeName, dataContract, out referencedType)
511
|| (string.IsNullOrEmpty(type.Name) &&
dataContractSet
.TryGetReferencedType(ImportActualType(type.Annotation, typeName, typeName), dataContract, out referencedType)))
522
this.
dataContractSet
.Remove(typeName);
531
ClassDataContract oldContract = this.
dataContractSet
[typeName] as ClassDataContract;
532
this.
dataContractSet
.Remove(typeName);
541
if (
dataContractSet
.KnownTypesForObject != null)
542
dataContractSet
.KnownTypesForObject.Remove(typeName);
707
DataContract dataContract =
dataContractSet
[typeName];
760
if (
dataContractSet
.TryGetReferencedType(xlinqTypeName, null, out referencedType)
1029
dataContractSet
.SetSurrogateData(dataMember, ImportSurrogateData(ImportAnnotation(element.Annotation, surrogateDataAnnotationName), surrogateDataAnnotationName.Name, surrogateDataAnnotationName.Namespace));
1090
DataContract contract =
dataContractSet
[shortName];
1129
dataContractSet
.Remove(keyValueContract.StableName);
1262
dataContractSet
.SetSurrogateData(dataContract, surrogateData);
1347
if (
dataContractSet
.DataContractSurrogate != null && typeElement != null)
1350
DataContractSurrogateCaller.GetKnownCustomDataTypes(
dataContractSet
.DataContractSurrogate, knownTypes);
1419
dataContractSet
.Add(dataContract.StableName, dataContract);