1 instantiation of SchemaExporter
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
275
SchemaExporter exporter = new
SchemaExporter
(GetSchemaSet(), DataContractSet);
26 references to SchemaExporter
System.Private.DataContractSerialization (26)
System\Runtime\Serialization\DataContract.cs (1)
1326
SchemaExporter
.GetXmlTypeInfo(type, out XmlQualifiedName xmlTypeName, out _, out _);
System\Runtime\Serialization\SchemaImporter.cs (22)
220
if (SchemaObjects.TryGetValue(
SchemaExporter
.AnytypeQualifiedName, out schemaObjectInfo))
246
schemaObjects.Add(
SchemaExporter
.AnytypeQualifiedName, new SchemaObjectInfo(null, null, null, knownTypesForObject));
377
return ImportType(
SchemaExporter
.AnytypeQualifiedName);
471
if (baseTypeName ==
SchemaExporter
.AnytypeQualifiedName)
550
XmlQualifiedName expectedBase =
SchemaExporter
.StringQualifiedName;
806
string? isValueTypeInnerText = GetInnerText(typeName, ImportAnnotation(annotation,
SchemaExporter
.IsValueTypeName));
861
XmlSchemaAny iSerializableWildcardElement =
SchemaExporter
.ISerializableWildcardElement;
871
XmlQualifiedName factoryTypeAttributeRefName =
SchemaExporter
.ISerializableFactoryTypeAttribute.RefName;
934
elementTypeName =
SchemaExporter
.AnytypeQualifiedName;
978
memberTypeContract = ImportType(
SchemaExporter
.AnytypeQualifiedName);
1015
XmlQualifiedName surrogateDataAnnotationName =
SchemaExporter
.SurrogateDataAnnotationName;
1023
XmlElement? defaultValueElement = ImportAnnotation(annotation,
SchemaExporter
.DefaultValueAnnotation);
1028
throw new InvalidDataContractException(SR.Format(SR.AnnotationAttributeNotFound,
SchemaExporter
.DefaultValueAnnotation.Name, typeName.Name, typeName.Namespace, Globals.EmitDefaultValueAttribute));
1034
XmlElement? actualTypeElement = ImportAnnotation(annotation,
SchemaExporter
.ActualTypeAnnotationName);
1040
throw new InvalidDataContractException(SR.Format(SR.AnnotationAttributeNotFound,
SchemaExporter
.ActualTypeAnnotationName.Name, typeName.Name, typeName.Namespace, Globals.ActualTypeNameAttribute));
1043
throw new InvalidDataContractException(SR.Format(SR.AnnotationAttributeNotFound,
SchemaExporter
.ActualTypeAnnotationName.Name, typeName.Name, typeName.Namespace, Globals.ActualTypeNamespaceAttribute));
1095
dataContract.ItemContract = ImportType(
SchemaExporter
.AnytypeQualifiedName);
1153
string? isDictionaryInnerText = GetInnerText(typeName, ImportAnnotation(annotation,
SchemaExporter
.IsDictionaryAnnotationName));
1197
dataContract.BaseContractName = ImportActualType(annotation,
SchemaExporter
.DefaultEnumBaseTypeName, typeName);
1212
string? valueInnerText = GetInnerText(typeName, ImportAnnotation(enumFacet.Annotation,
SchemaExporter
.EnumerationValueAnnotationName));
1213
long enumValue = (valueInnerText == null) ?
SchemaExporter
.GetDefaultEnumValue(isFlags, dataContract.Members.Count)
1251
XmlQualifiedName surrogateDataAnnotationName =
SchemaExporter
.SurrogateDataAnnotationName;
System\Runtime\Serialization\XmlDataContract.cs (1)
147
SchemaExporter
.GetXmlTypeInfo(type, out xmlName, out xsdType, out hasRoot);
System\Runtime\Serialization\XmlSerializableServices.cs (1)
71
SchemaExporter
.AddDefaultXmlType(schemas, typeQName.Name, typeQName.Namespace);
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
275
SchemaExporter
exporter = new SchemaExporter(GetSchemaSet(), DataContractSet);