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);
713
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
780
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
794
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
834
SchemaHelper
.AddSchemaImport(annotationQualifiedName.Namespace, schema);
841
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)
113
XmlSchema? schema =
SchemaHelper
.GetSchemaWithGlobalElementDeclaration(element, _schemaSet);
364
if (
SchemaHelper
.GetSchemaType(SchemaObjects, typeQName) != null)
369
if (
SchemaHelper
.GetSchemaType(SchemaObjects, typeQName) == null)
388
XmlSchemaType? type =
SchemaHelper
.GetSchemaType(SchemaObjects, typeName);
720
xmlDataContract.SetTopLevelElementName(
SchemaHelper
.GetGlobalElementDeclaration(_schemaSet, typeName, out isNullable));
921
XmlSchemaElement? topLevelElement =
SchemaHelper
.GetSchemaElement(SchemaObjects, typeName);
962
XmlSchema? schema =
SchemaHelper
.GetSchemaWithType(SchemaObjects, _schemaSet, typeName);
1067
XmlSchema? schema =
SchemaHelper
.GetSchemaWithType(SchemaObjects, _schemaSet, typeName);