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); 716XmlSchema schema = SchemaHelper.GetSchema(ns, schemas); 783XmlSchema schema = SchemaHelper.GetSchema(ns, schemas); 797XmlSchema schema = SchemaHelper.GetSchema(ns, schemas); 837SchemaHelper.AddSchemaImport(annotationQualifiedName.Namespace, schema); 844return 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)
114XmlSchema? schema = SchemaHelper.GetSchemaWithGlobalElementDeclaration(element, _schemaSet); 365if (SchemaHelper.GetSchemaType(SchemaObjects, typeQName) != null) 370if (SchemaHelper.GetSchemaType(SchemaObjects, typeQName) == null) 389XmlSchemaType? type = SchemaHelper.GetSchemaType(SchemaObjects, typeName); 721xmlDataContract.SetTopLevelElementName(SchemaHelper.GetGlobalElementDeclaration(_schemaSet, typeName, out isNullable)); 922XmlSchemaElement? topLevelElement = SchemaHelper.GetSchemaElement(SchemaObjects, typeName); 963XmlSchema? schema = SchemaHelper.GetSchemaWithType(SchemaObjects, _schemaSet, typeName); 1068XmlSchema? schema = SchemaHelper.GetSchemaWithType(SchemaObjects, _schemaSet, typeName);