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