2 writes to _schemaSet
System.Private.Xml (2)
System\Xml\Schema\XmlSchemaValidator.cs (2)
175
_schemaSet
= new XmlSchemaSet(nameTable);
184
_schemaSet
= schemas;
22 references to _schemaSet
System.Private.Xml (22)
System\Xml\Schema\XmlSchemaValidator.cs (22)
176
_schemaSet
.ValidationEventHandler += schemas.GetEventHandler();
177
_schemaSet
.CompilationSettings = schemas.CompilationSettings;
178
_schemaSet
.XmlResolver = schemas.GetResolver();
179
_schemaSet
.Add(schemas);
329
Hashtable schemaLocations =
_schemaSet
.SchemaLocations;
334
if (_validatedNamespaces[tns] != null &&
_schemaSet
.FindSchemaByNSAndUrl(schema.BaseUri, tns, oldLocations) == null)
342
_schemaSet
.Add(schema);
353
if (_validatedNamespaces[tns] != null &&
_schemaSet
.FindSchemaByNSAndUrl(impSchema.BaseUri, tns, oldLocations) == null)
356
_schemaSet
.RemoveRecursive(schema);
773
ArrayList? names = _context.ElementDecl.ContentValidator.ExpectedParticles(_context, false,
_schemaSet
);
943
ICollection elements =
_schemaSet
.GlobalElements.Values;
948
ContentValidator.AddParticleToExpected(element!,
_schemaSet
, expected, true);
956
ArrayList? expected = _context.ElementDecl.ContentValidator!.ExpectedParticles(_context, false,
_schemaSet
);
1098
return
_schemaSet
;
1229
CompleteValidationError(_context, _eventHandler, _nsResolver, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition,
_schemaSet
);
1377
ElementValidationError(elementName, _context, _eventHandler, _nsResolver, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition,
_schemaSet
);
1809
_schemaSet
.Add(localSet);
1846
XmlReaderSettings readerSettings =
_schemaSet
.ReaderSettings;
1850
_schemaSet
.Add(uri, Reader, _validatedNamespaces!);
1870
if (!
_schemaSet
.IsCompiled)
1874
_schemaSet
.Compile();
1882
_compiledSchemaInfo =
_schemaSet
.CompiledInfo; //Fetch compiled info from set