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