28 references to SchemaHelper
System.Private.DataContractSerialization (28)
System\Runtime\Serialization\SchemaExporter.cs (16)
141
SchemaHelper
.AddSchemaImport(memberTypeContract.XmlName.Namespace, schema);
145
SchemaHelper
.AddElementForm(element, schema);
178
SchemaHelper
.AddSchemaImport(Globals.SerializationNamespace, schema);
197
SchemaHelper
.AddSchemaImport(dataContract.XmlName.Namespace, schema);
389
SchemaHelper
.AddElementForm(keyValueElement, schema);
405
SchemaHelper
.AddElementForm(element, schema);
433
SchemaHelper
.AddSchemaImport(enumDataContract.BaseContractName.Namespace, schema);
484
SchemaHelper
.AddSchemaImport(ISerializableFactoryTypeAttribute.RefName.Namespace, schema);
493
SchemaHelper
.AddSchemaImport(baseTypeName.Namespace, schema);
524
if (
SchemaHelper
.GetSchemaElement(Schemas,
534
xsdType =
SchemaHelper
.GetSchemaType(_schemas, typeQName, out schema);
716
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
783
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
797
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
837
SchemaHelper
.AddSchemaImport(annotationQualifiedName.Namespace, schema);
844
return
SchemaHelper
.GetSchema(ns, Schemas);
System\Runtime\Serialization\SchemaHelper.cs (4)
156
if (
SchemaHelper
.NamespacesEqual(ns, schema.TargetNamespace) ||
SchemaHelper
.NamespacesEqual(ns, Globals.SchemaNamespace) ||
SchemaHelper
.NamespacesEqual(ns, Globals.SchemaInstanceNamespace))
163
if (
SchemaHelper
.NamespacesEqual(ns, ((XmlSchemaImport)item).Namespace))
System\Runtime\Serialization\SchemaImporter.cs (8)
114
XmlSchema? schema =
SchemaHelper
.GetSchemaWithGlobalElementDeclaration(element, _schemaSet);
365
if (
SchemaHelper
.GetSchemaType(SchemaObjects, typeQName) != null)
370
if (
SchemaHelper
.GetSchemaType(SchemaObjects, typeQName) == null)
389
XmlSchemaType? type =
SchemaHelper
.GetSchemaType(SchemaObjects, typeName);
721
xmlDataContract.SetTopLevelElementName(
SchemaHelper
.GetGlobalElementDeclaration(_schemaSet, typeName, out isNullable));
922
XmlSchemaElement? topLevelElement =
SchemaHelper
.GetSchemaElement(SchemaObjects, typeName);
963
XmlSchema? schema =
SchemaHelper
.GetSchemaWithType(SchemaObjects, _schemaSet, typeName);
1068
XmlSchema? schema =
SchemaHelper
.GetSchemaWithType(SchemaObjects, _schemaSet, typeName);