13 instantiations of XmlSchemaSet
System.Data.Common (2)
System\Data\DataSet.cs (1)
1797
XmlSchemaSet sSet = new
XmlSchemaSet
();
System\Data\DataTable.cs (1)
6379
XmlSchemaSet sSet = new
XmlSchemaSet
();
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaExporter.cs (1)
596
XmlSchemaSet schemas = new
XmlSchemaSet
();
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
78
_schemas = new
XmlSchemaSet
();
System.Private.Xml (9)
System\Xml\Core\XmlReaderSettings.cs (1)
277
get => _schemas ??= new
XmlSchemaSet
();
System\Xml\Dom\XmlDocument.cs (1)
428
get => _schemas ??= new
XmlSchemaSet
(NameTable);
System\Xml\Schema\Inference\Infer.cs (2)
166
return InferSchema1(instanceDocument, new
XmlSchemaSet
(_nametable));
171
schemas ??= new
XmlSchemaSet
(_nametable);
System\Xml\Schema\XmlSchemaValidator.cs (2)
175
_schemaSet = new
XmlSchemaSet
(nameTable);
1796
XmlSchemaSet localSet = new
XmlSchemaSet
(); //Avoiding cost of incremental compilation checks by compiling schema in a separate set and adding compiled set
System\Xml\Serialization\Mappings.cs (1)
1277
_schemas ??= new
XmlSchemaSet
();
System\Xml\Serialization\XmlSchemas.cs (2)
70
_schemaSet = new
XmlSchemaSet
();
631
_schemaSet = new
XmlSchemaSet
();
115 references to XmlSchemaSet
netstandard (1)
netstandard.cs (1)
2358
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaSet
))]
System.Data.Common (24)
System\Data\DataSet.cs (3)
1797
XmlSchemaSet
sSet = new XmlSchemaSet();
2374
XmlSchemaSet
schemaSet = infer.InferSchema(xnr);
3428
public static XmlSchemaComplexType GetDataSetSchema(
XmlSchemaSet
? schemaSet)
System\Data\DataTable.cs (2)
6379
XmlSchemaSet
sSet = new XmlSchemaSet();
6645
public static XmlSchemaComplexType GetDataTableSchema(
XmlSchemaSet
? schemaSet)
System\Data\SQLTypes\SQLBinary.cs (1)
458
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLBoolean.cs (1)
508
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLByte.cs (1)
518
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLBytes.cs (1)
569
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLChars.cs (1)
522
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLDateTime.cs (1)
672
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLDecimal.cs (1)
3384
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLDouble.cs (1)
434
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLGuid.cs (1)
322
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLInt16.cs (1)
519
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLInt32.cs (1)
534
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLInt64.cs (1)
593
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLMoney.cs (1)
591
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLSingle.cs (1)
444
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SQLString.cs (1)
950
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\SQLTypes\SqlXml.cs (1)
255
public static XmlQualifiedName GetXsdType(
XmlSchemaSet
schemaSet)
System\Data\XMLSchema.cs (3)
133
private
XmlSchemaSet
? _schemaSet;
643
public void LoadSchema(
XmlSchemaSet
schemaSet, DataTable dt)
650
public void LoadSchema(
XmlSchemaSet
schemaSet, DataSet ds)
System.Private.DataContractSerialization (31)
System\Runtime\Serialization\DataContractSet.cs (2)
651
public void ImportSchemaSet(
XmlSchemaSet
schemaSet, IEnumerable<XmlQualifiedName>? typeNames, bool importXmlDataType)
659
public List<XmlQualifiedName> ImportSchemaSet(
XmlSchemaSet
schemaSet, IEnumerable<XmlSchemaElement> elements, bool importXmlDataType)
System\Runtime\Serialization\SchemaExporter.cs (11)
22
private readonly
XmlSchemaSet
_schemas;
26
internal SchemaExporter(
XmlSchemaSet
schemas, DataContractSet dataContractSet)
32
private
XmlSchemaSet
Schemas
550
private static void ReprocessAll(
XmlSchemaSet
schemas)// and remove duplicate items
596
XmlSchemaSet
schemas = new XmlSchemaSet();
605
private static bool InvokeSchemaProviderMethod(Type clrType,
XmlSchemaSet
schemas, out XmlQualifiedName xmlName, out XmlSchemaType? xsdType, out bool hasRoot)
631
MethodInfo? getMethod = clrType.GetMethod(methodName, /*BindingFlags.DeclaredOnly |*/ BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, new Type[] { typeof(
XmlSchemaSet
) });
695
XmlSchemaSet
schemas, XmlQualifiedName xmlName)
711
internal static void AddDefaultXmlType(
XmlSchemaSet
schemas, string localName, string ns)
772
private static void AddDefaultDatasetType(
XmlSchemaSet
schemas, string localName, string ns)
787
private static void AddDefaultTypedDatasetType(
XmlSchemaSet
schemas, XmlSchema datasetSchema, string localName, string ns)
System\Runtime\Serialization\SchemaHelper.cs (7)
61
internal static XmlSchemaType? GetSchemaType(
XmlSchemaSet
schemas, XmlQualifiedName typeQName, out XmlSchema? outSchema)
93
internal static XmlSchemaElement? GetSchemaElement(
XmlSchemaSet
schemas, XmlQualifiedName elementQName, out XmlSchema? outSchema)
115
internal static XmlSchema GetSchema(string ns,
XmlSchemaSet
schemas)
130
private static XmlSchema CreateSchema(string ns,
XmlSchemaSet
schemas)
174
internal static XmlSchema? GetSchemaWithType(SchemaObjectDictionary schemaInfo,
XmlSchemaSet
schemas, XmlQualifiedName typeName)
194
internal static XmlSchema? GetSchemaWithGlobalElementDeclaration(XmlSchemaElement element,
XmlSchemaSet
schemas)
210
internal static XmlQualifiedName? GetGlobalElementDeclaration(
XmlSchemaSet
schemas, XmlQualifiedName typeQName, out bool isNullable)
System\Runtime\Serialization\SchemaImporter.cs (3)
25
private readonly
XmlSchemaSet
_schemaSet;
35
internal SchemaImporter(
XmlSchemaSet
schemas, IEnumerable<XmlQualifiedName>? typeNames, IEnumerable<XmlSchemaElement>? elements, DataContractSet dataContractSet, bool importXmlDataType)
133
internal static void CompileSchemaSet(
XmlSchemaSet
schemaSet)
System\Runtime\Serialization\XmlSerializableServices.cs (1)
66
public static void AddDefaultSchema(
XmlSchemaSet
schemas, XmlQualifiedName typeQName)
System\Runtime\Serialization\XsdDataContractExporter.cs (7)
27
/// The <see cref="XsdDataContractExporter"/> generates an <see cref="
XmlSchemaSet
"/> object that contains the collection of schemas.
33
private
XmlSchemaSet
? _schemas;
46
/// <param name="schemas">An <see cref="
XmlSchemaSet
"/> that contains the schemas to be exported.</param>
47
public XsdDataContractExporter(
XmlSchemaSet
? schemas)
64
public
XmlSchemaSet
Schemas
68
XmlSchemaSet
schemaSet = GetSchemaSet();
74
private
XmlSchemaSet
GetSchemaSet()
System.Private.Xml (43)
System\Xml\Core\XmlReaderSettings.cs (2)
31
private
XmlSchemaSet
? _schemas;
275
public
XmlSchemaSet
Schemas
System\Xml\Dom\DocumentSchemaValidator.cs (2)
22
private readonly
XmlSchemaSet
_schemas;
57
public DocumentSchemaValidator(XmlDocument ownerDocument,
XmlSchemaSet
schemas, ValidationEventHandler? eventHandler)
System\Xml\Dom\DocumentXPathNavigator.cs (1)
1243
public override bool CheckValidity(
XmlSchemaSet
schemas, ValidationEventHandler validationEventHandler)
System\Xml\Dom\XmlDocument.cs (2)
81
private
XmlSchemaSet
? _schemas; // schemas associated with the cache
426
public
XmlSchemaSet
Schemas
System\Xml\Schema\ContentValidator.cs (7)
1002
public virtual ArrayList? ExpectedParticles(ValidationState context, bool isRequiredOnly,
XmlSchemaSet
schemaSet)
1007
public static void AddParticleToExpected(XmlSchemaParticle p,
XmlSchemaSet
schemaSet, ArrayList particles)
1012
public static void AddParticleToExpected(XmlSchemaParticle p,
XmlSchemaSet
schemaSet, ArrayList particles, bool global)
1653
public override ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly,
XmlSchemaSet
schemaSet)
1799
public override ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly,
XmlSchemaSet
schemaSet)
2079
public override ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly,
XmlSchemaSet
schemaSet)
2209
public override ArrayList ExpectedParticles(ValidationState context, bool isRequiredOnly,
XmlSchemaSet
schemaSet)
System\Xml\Schema\Inference\Infer.cs (6)
105
private
XmlSchemaSet
? _schemaSet;
164
public
XmlSchemaSet
InferSchema(XmlReader instanceDocument)
169
public
XmlSchemaSet
InferSchema(XmlReader instanceDocument,
XmlSchemaSet
schemas)
175
internal
XmlSchemaSet
InferSchema1(XmlReader instanceDocument,
XmlSchemaSet
schemas)
System\Xml\Schema\SchemaSetCompiler.cs (2)
35
public bool Execute(
XmlSchemaSet
schemaSet, SchemaInfo schemaCompiledInfo)
174
internal void ImportAllCompiledSchemas(
XmlSchemaSet
schemaSet)
System\Xml\Schema\XmlSchemaAttribute.cs (1)
117
internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver,
XmlSchemaSet
schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaElement.cs (1)
193
internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver,
XmlSchemaSet
schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaSet.cs (2)
297
public void Add(
XmlSchemaSet
schemas)
1102
internal void CopyFromCompiledSet(
XmlSchemaSet
otherSet)
System\Xml\Schema\XmlSchemaType.cs (1)
207
internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver,
XmlSchemaSet
schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaValidator.cs (6)
66
private readonly
XmlSchemaSet
_schemaSet;
162
public XmlSchemaValidator(XmlNameTable nameTable,
XmlSchemaSet
schemas, IXmlNamespaceResolver namespaceResolver, XmlSchemaValidationFlags validationFlags)
1084
internal
XmlSchemaSet
SchemaSet
1796
XmlSchemaSet
localSet = new XmlSchemaSet(); //Avoiding cost of incremental compilation checks by compiling schema in a separate set and adding compiled set
2498
internal static void ElementValidationError(XmlQualifiedName name, ValidationState context, ValidationEventHandler? eventHandler, object sender, string? sourceUri, int lineNo, int linePos,
XmlSchemaSet
? schemaSet)
2556
internal static void CompleteValidationError(ValidationState context, ValidationEventHandler? eventHandler, object sender, string? sourceUri, int lineNo, int linePos,
XmlSchemaSet
? schemaSet)
System\Xml\Serialization\Mappings.cs (3)
1047
private
XmlSchemaSet
? _schemas;
1065
internal SerializableMapping(XmlQualifiedName xsiType,
XmlSchemaSet
schemas)
1162
internal
XmlSchemaSet
? Schemas
System\Xml\Serialization\XmlReflectionImporter.cs (3)
483
MethodInfo? getMethod = getMethod = type.GetMethod(provider.MethodName, /* BindingFlags.DeclaredOnly | */ BindingFlags.Static | BindingFlags.Public, new Type[] { typeof(
XmlSchemaSet
) });
485
throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodMissing, provider.MethodName, nameof(
XmlSchemaSet
), type.FullName));
573
XmlSchemaSet
schemas = mapping.Schemas!;
System\Xml\Serialization\XmlSchemas.cs (2)
23
private
XmlSchemaSet
? _schemaSet;
64
internal
XmlSchemaSet
SchemaSet
System\Xml\XPath\XPathNavigator.cs (2)
985
public virtual bool CheckValidity(
XmlSchemaSet
schemas, ValidationEventHandler validationEventHandler)
1053
private static XmlReader GetValidatingReader(XmlReader reader,
XmlSchemaSet
schemas, ValidationEventHandler validationEvent, XmlSchemaType? schemaType, XmlSchemaElement? schemaElement, XmlSchemaAttribute? schemaAttribute)
System.Private.Xml.Linq (14)
System\Xml\Schema\XNodeValidator.cs (14)
17
private readonly
XmlSchemaSet
schemas;
30
public XNodeValidator(
XmlSchemaSet
schemas, ValidationEventHandler? validationEventHandler)
460
/// <param name="schemas">The <see cref="
XmlSchemaSet
"/> used for validation</param>
464
public static void Validate(this XDocument source,
XmlSchemaSet
schemas, ValidationEventHandler? validationEventHandler)
473
/// <param name="schemas">The <see cref="
XmlSchemaSet
"/> used for validation</param>
480
public static void Validate(this XDocument source,
XmlSchemaSet
schemas, ValidationEventHandler? validationEventHandler, bool addSchemaInfo)
495
/// <param name="schemas">The <see cref="
XmlSchemaSet
"/> used for validation</param>
499
public static void Validate(this XElement source, XmlSchemaObject partialValidationType,
XmlSchemaSet
schemas, ValidationEventHandler? validationEventHandler)
511
/// <param name="schemas">The <see cref="
XmlSchemaSet
"/> used for validation</param>
518
public static void Validate(this XElement source, XmlSchemaObject partialValidationType,
XmlSchemaSet
schemas, ValidationEventHandler? validationEventHandler, bool addSchemaInfo)
534
/// <param name="schemas">The <see cref="
XmlSchemaSet
"/> used for validation</param>
538
public static void Validate(this XAttribute source, XmlSchemaObject partialValidationType,
XmlSchemaSet
schemas, ValidationEventHandler? validationEventHandler)
550
/// <param name="schemas">The <see cref="
XmlSchemaSet
"/> used for validation</param>
557
public static void Validate(this XAttribute source, XmlSchemaObject partialValidationType,
XmlSchemaSet
schemas, ValidationEventHandler? validationEventHandler, bool addSchemaInfo)
System.Xml (1)
System.Xml.cs (1)
83
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaSet
))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net9.0\System.Xml.ReaderWriter.Forwards.cs (1)
82
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaSet
))]