28 references to SchemaHelper
System.Private.DataContractSerialization (28)
System\Runtime\Serialization\SchemaExporter.cs (16)
141SchemaHelper.AddSchemaImport(memberTypeContract.XmlName.Namespace, schema); 145SchemaHelper.AddElementForm(element, schema); 178SchemaHelper.AddSchemaImport(Globals.SerializationNamespace, schema); 197SchemaHelper.AddSchemaImport(dataContract.XmlName.Namespace, schema); 389SchemaHelper.AddElementForm(keyValueElement, schema); 405SchemaHelper.AddElementForm(element, schema); 433SchemaHelper.AddSchemaImport(enumDataContract.BaseContractName.Namespace, schema); 484SchemaHelper.AddSchemaImport(ISerializableFactoryTypeAttribute.RefName.Namespace, schema); 493SchemaHelper.AddSchemaImport(baseTypeName.Namespace, schema); 524if (SchemaHelper.GetSchemaElement(Schemas, 534xsdType = SchemaHelper.GetSchemaType(_schemas, typeQName, out schema); 713XmlSchema schema = SchemaHelper.GetSchema(ns, schemas); 780XmlSchema schema = SchemaHelper.GetSchema(ns, schemas); 794XmlSchema schema = SchemaHelper.GetSchema(ns, schemas); 834SchemaHelper.AddSchemaImport(annotationQualifiedName.Namespace, schema); 841return SchemaHelper.GetSchema(ns, Schemas);
System\Runtime\Serialization\SchemaHelper.cs (4)
156if (SchemaHelper.NamespacesEqual(ns, schema.TargetNamespace) || SchemaHelper.NamespacesEqual(ns, Globals.SchemaNamespace) || SchemaHelper.NamespacesEqual(ns, Globals.SchemaInstanceNamespace)) 163if (SchemaHelper.NamespacesEqual(ns, ((XmlSchemaImport)item).Namespace))
System\Runtime\Serialization\SchemaImporter.cs (8)
113XmlSchema? schema = SchemaHelper.GetSchemaWithGlobalElementDeclaration(element, _schemaSet); 364if (SchemaHelper.GetSchemaType(SchemaObjects, typeQName) != null) 369if (SchemaHelper.GetSchemaType(SchemaObjects, typeQName) == null) 388XmlSchemaType? type = SchemaHelper.GetSchemaType(SchemaObjects, typeName); 720xmlDataContract.SetTopLevelElementName(SchemaHelper.GetGlobalElementDeclaration(_schemaSet, typeName, out isNullable)); 921XmlSchemaElement? topLevelElement = SchemaHelper.GetSchemaElement(SchemaObjects, typeName); 962XmlSchema? schema = SchemaHelper.GetSchemaWithType(SchemaObjects, _schemaSet, typeName); 1067XmlSchema? schema = SchemaHelper.GetSchemaWithType(SchemaObjects, _schemaSet, typeName);