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