28 references to SchemaHelper
System.Runtime.Serialization (28)
System\Runtime\Serialization\SchemaExporter.cs (16)
147
SchemaHelper
.AddSchemaImport(memberTypeContract.StableName.Namespace, schema);
151
SchemaHelper
.AddElementForm(element, schema);
184
SchemaHelper
.AddSchemaImport(Globals.SerializationNamespace, schema);
204
SchemaHelper
.AddSchemaImport(dataContract.StableName.Namespace, schema);
388
SchemaHelper
.AddElementForm(keyValueElement, schema);
404
SchemaHelper
.AddElementForm(element, schema);
430
SchemaHelper
.AddSchemaImport(enumDataContract.BaseContractName.Namespace, schema);
479
SchemaHelper
.AddSchemaImport(ISerializableFactoryTypeAttribute.RefName.Namespace, schema);
488
SchemaHelper
.AddSchemaImport(baseTypeName.Namespace, schema);
517
if (
SchemaHelper
.GetSchemaElement(Schemas,
527
xsdType =
SchemaHelper
.GetSchemaType(schemas, typeQName, out schema);
718
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
785
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
799
XmlSchema schema =
SchemaHelper
.GetSchema(ns, schemas);
839
SchemaHelper
.AddSchemaImport(annotationQualifiedName.Namespace, schema);
846
return
SchemaHelper
.GetSchema(ns, Schemas);
System\Runtime\Serialization\SchemaHelper.cs (4)
168
if (
SchemaHelper
.NamespacesEqual(ns, schema.TargetNamespace) ||
SchemaHelper
.NamespacesEqual(ns, Globals.SchemaNamespace) ||
SchemaHelper
.NamespacesEqual(ns, Globals.SchemaInstanceNamespace))
175
if (
SchemaHelper
.NamespacesEqual(ns, ((XmlSchemaImport)item).Namespace))
System\Runtime\Serialization\SchemaImporter.cs (8)
119
XmlSchema schema =
SchemaHelper
.GetSchemaWithGlobalElementDeclaration(element, schemaSet);
373
if (
SchemaHelper
.GetSchemaType(SchemaObjects, typeQName) != null)
378
if (
SchemaHelper
.GetSchemaType(SchemaObjects, typeQName) == null)
395
XmlSchemaType type =
SchemaHelper
.GetSchemaType(SchemaObjects, typeName);
742
xmlDataContract.SetTopLevelElementName(
SchemaHelper
.GetGlobalElementDeclaration(schemaSet, typeName, out isNullable));
946
XmlSchemaElement topLevelElement =
SchemaHelper
.GetSchemaElement(SchemaObjects, typeName);
982
XmlSchemaForm elementForm = (element.Form == XmlSchemaForm.None) ?
SchemaHelper
.GetSchemaWithType(SchemaObjects, schemaSet, typeName).ElementFormDefault : element.Form;
1080
XmlSchemaForm elementForm = (element.Form == XmlSchemaForm.None) ?
SchemaHelper
.GetSchemaWithType(SchemaObjects, schemaSet, typeName).ElementFormDefault : element.Form;