1 instantiation of SchemaExporter
System.Runtime.Serialization (1)
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
254SchemaExporter schemaExporter = new SchemaExporter(GetSchemaSet(), DataContractSet);
26 references to SchemaExporter
System.Runtime.Serialization (26)
System\Runtime\Serialization\DataContract.cs (1)
1517SchemaExporter.GetXmlTypeInfo(type, out xmlTypeStableName, out xsdType, out hasRoot);
System\Runtime\Serialization\SchemaImporter.cs (22)
220if (SchemaObjects.TryGetValue(SchemaExporter.AnytypeQualifiedName, out schemaObjectInfo)) 247schemaObjects.Add(SchemaExporter.AnytypeQualifiedName, new SchemaObjectInfo(null, null, null, knownTypesForObject)); 385return ImportType(SchemaExporter.AnytypeQualifiedName); 479if (baseTypeName == SchemaExporter.AnytypeQualifiedName) 554XmlQualifiedName expectedBase = SchemaExporter.StringQualifiedName; 824string isValueTypeInnerText = GetInnerText(typeName, ImportAnnotation(annotation, SchemaExporter.IsValueTypeName)); 879XmlSchemaAny iSerializableWildcardElement = SchemaExporter.ISerializableWildcardElement; 889XmlQualifiedName factoryTypeAttributeRefName = SchemaExporter.ISerializableFactoryTypeAttribute.RefName; 958elementTypeName = SchemaExporter.AnytypeQualifiedName; 994memberTypeContract = ImportType(SchemaExporter.AnytypeQualifiedName); 1028XmlQualifiedName surrogateDataAnnotationName = SchemaExporter.SurrogateDataAnnotationName; 1036XmlElement defaultValueElement = ImportAnnotation(annotation, SchemaExporter.DefaultValueAnnotation); 1042throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.AnnotationAttributeNotFound, SchemaExporter.DefaultValueAnnotation.Name, typeName.Name, typeName.Namespace, Globals.EmitDefaultValueAttribute))); 1048XmlElement actualTypeElement = ImportAnnotation(annotation, SchemaExporter.ActualTypeAnnotationName); 1055throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.AnnotationAttributeNotFound, SchemaExporter.ActualTypeAnnotationName.Name, typeName.Name, typeName.Namespace, Globals.ActualTypeNameAttribute))); 1059throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.AnnotationAttributeNotFound, SchemaExporter.ActualTypeAnnotationName.Name, typeName.Name, typeName.Namespace, Globals.ActualTypeNamespaceAttribute))); 1104dataContract.ItemContract = ImportType(SchemaExporter.AnytypeQualifiedName); 1160string isDictionaryInnerText = GetInnerText(typeName, ImportAnnotation(annotation, SchemaExporter.IsDictionaryAnnotationName)); 1204dataContract.BaseContractName = ImportActualType(annotation, SchemaExporter.DefaultEnumBaseTypeName, typeName); 1219string valueInnerText = GetInnerText(typeName, ImportAnnotation(enumFacet.Annotation, SchemaExporter.EnumerationValueAnnotationName)); 1221dataContract.Values.Add(SchemaExporter.GetDefaultEnumValue(isFlags, dataContract.Members.Count)); 1258XmlQualifiedName surrogateDataAnnotationName = SchemaExporter.SurrogateDataAnnotationName;
System\Runtime\Serialization\XmlDataContract.cs (1)
204SchemaExporter.GetXmlTypeInfo(type, out stableName, out xsdType, out hasRoot);
System\Runtime\Serialization\XmlSerializableServices.cs (1)
77SchemaExporter.AddDefaultXmlType(schemas, typeQName.Name, typeQName.Namespace);
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
254SchemaExporter schemaExporter = new SchemaExporter(GetSchemaSet(), DataContractSet);