14 instantiations of XmlSchemaSet
Microsoft.DotNet.XliffTasks (1)
Model\XlfDocument.cs (1)
315
XmlSchemaSet schemas =
new
();
System.Data.Common (2)
System\Data\DataSet.cs (1)
1818
XmlSchemaSet sSet = new
XmlSchemaSet
();
System\Data\DataTable.cs (1)
6416
XmlSchemaSet sSet = new
XmlSchemaSet
();
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaExporter.cs (1)
597
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);
1808
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
();
636
_schemaSet = new
XmlSchemaSet
();
144 references to XmlSchemaSet
Microsoft.DotNet.XliffTasks (4)
Model\XlfDocument.cs (4)
24
private static
XmlSchemaSet
s_schemaSet;
301
XmlSchemaSet
schemas = GetSchemaSet();
306
private static
XmlSchemaSet
GetSchemaSet()
315
XmlSchemaSet
schemas = new();
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)
1818
XmlSchemaSet
sSet = new XmlSchemaSet();
2416
XmlSchemaSet
schemaSet = infer.InferSchema(xnr);
3485
public static XmlSchemaComplexType GetDataSetSchema(
XmlSchemaSet
? schemaSet)
System\Data\DataTable.cs (2)
6416
XmlSchemaSet
sSet = new XmlSchemaSet();
6687
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;
644
public void LoadSchema(
XmlSchemaSet
schemaSet, DataTable dt)
652
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
551
private static void ReprocessAll(
XmlSchemaSet
schemas)// and remove duplicate items
597
XmlSchemaSet
schemas = new XmlSchemaSet();
606
private static bool InvokeSchemaProviderMethod(Type clrType,
XmlSchemaSet
schemas, out XmlQualifiedName xmlName, out XmlSchemaType? xsdType, out bool hasRoot)
632
MethodInfo? getMethod = clrType.GetMethod(methodName, /*BindingFlags.DeclaredOnly |*/ BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, new Type[] { typeof(
XmlSchemaSet
) });
696
XmlSchemaSet
schemas, XmlQualifiedName xmlName)
712
internal static void AddDefaultXmlType(
XmlSchemaSet
schemas, string localName, string ns)
773
private static void AddDefaultDatasetType(
XmlSchemaSet
schemas, string localName, string ns)
788
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)
1096
internal
XmlSchemaSet
SchemaSet
1808
XmlSchemaSet
localSet = new XmlSchemaSet(); //Avoiding cost of incremental compilation checks by compiling schema in a separate set and adding compiled set
2510
internal static void ElementValidationError(XmlQualifiedName name, ValidationState context, ValidationEventHandler? eventHandler, object sender, string? sourceUri, int lineNo, int linePos,
XmlSchemaSet
? schemaSet)
2568
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)
498
MethodInfo? getMethod = getMethod = type.GetMethod(provider.MethodName, /* BindingFlags.DeclaredOnly | */ BindingFlags.Static | BindingFlags.Public, new Type[] { typeof(
XmlSchemaSet
) });
500
throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodMissing, provider.MethodName, nameof(
XmlSchemaSet
), type.FullName));
589
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.Runtime.Serialization.Schema (25)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1778
CodeParameterDeclarationExpression paramDeclaration = new CodeParameterDeclarationExpression(typeof(
XmlSchemaSet
), "schemas");
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (24)
75
/// Transforms the specified set of XML schemas contained in an <see cref="
XmlSchemaSet
"/> into a <see cref="System.CodeDom.CodeCompileUnit"/>.
77
/// <param name="schemas">A <see cref="
XmlSchemaSet
"/> that contains the schema representations to generate CLR types for.</param>
79
public void Import(
XmlSchemaSet
schemas)
88
/// Transforms the specified set of schema types contained in an <see cref="
XmlSchemaSet
"/> into CLR types generated into a <see cref="System.CodeDom.CodeCompileUnit"/>.
90
/// <param name="schemas">A <see cref="
XmlSchemaSet
"/> that contains the schema representations.</param>
93
public void Import(
XmlSchemaSet
schemas, ICollection<XmlQualifiedName> typeNames)
105
/// Transforms the specified XML schema type contained in an <see cref="
XmlSchemaSet
"/> into a <see cref="System.CodeDom.CodeCompileUnit"/>.
107
/// <param name="schemas">A <see cref="
XmlSchemaSet
"/> that contains the schema representations.</param>
110
public void Import(
XmlSchemaSet
schemas, XmlQualifiedName typeName)
126
/// <param name="schemas">An <see cref="
XmlSchemaSet
"/> that contains the schemas to transform.</param>
130
public XmlQualifiedName? Import(
XmlSchemaSet
schemas, XmlSchemaElement element)
145
/// Gets a value that indicates whether the schemas contained in an <see cref="
XmlSchemaSet
"/> can be transformed into a <see cref="System.CodeDom.CodeCompileUnit"/>.
147
/// <param name="schemas">A <see cref="
XmlSchemaSet
"/> that contains the schemas to transform.</param>
150
public bool CanImport(
XmlSchemaSet
schemas)
159
/// Gets a value that indicates whether the specified set of types contained in an <see cref="
XmlSchemaSet
"/> can be transformed into CLR types generated into a <see cref="System.CodeDom.CodeCompileUnit"/>.
165
public bool CanImport(
XmlSchemaSet
schemas, ICollection<XmlQualifiedName> typeNames)
177
/// Gets a value that indicates whether the schemas contained in an <see cref="
XmlSchemaSet
"/> can be transformed into a <see cref="System.CodeDom.CodeCompileUnit"/>.
180
/// <param name="typeName">The names of the schema types that need to be imported from the <see cref="
XmlSchemaSet
"/>.</param>
183
public bool CanImport(
XmlSchemaSet
schemas, XmlQualifiedName typeName)
195
/// Gets a value that indicates whether a specific schema element contained in an <see cref="
XmlSchemaSet
"/> can be imported.
197
/// <param name="schemas">An <see cref="
XmlSchemaSet
"/> to import.</param>
201
public bool CanImport(
XmlSchemaSet
schemas, XmlSchemaElement element)
300
private IList<XmlQualifiedName>? InternalImport(
XmlSchemaSet
schemas, ICollection<XmlQualifiedName>? typeNames, ICollection<XmlSchemaElement>? elements)
335
private bool InternalCanImport(
XmlSchemaSet
schemas, ICollection<XmlQualifiedName>? typeNames, ICollection<XmlSchemaElement>? elements)
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\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
82
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaSet
))]