62 references to ValidationType
Microsoft.Build.Tasks.Core (1)
BootstrapperUtil\BootstrapperBuilder.cs (1)
836xmlReaderSettings.ValidationType = ValidationType.Schema;
netstandard (1)
netstandard.cs (1)
2451[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.ValidationType))]
PresentationFramework (2)
System\Windows\Documents\FixedSchema.cs (2)
354_xmlReaderSettings.ValidationType = ValidationType.Schema; 755_xmlReaderSettings.ValidationType = ValidationType.Schema;
System.Private.Xml (56)
System\Xml\Core\XmlReader.cs (1)
1731if (settings.ValidationType != ValidationType.None)
System\Xml\Core\XmlReaderSettings.cs (12)
29private ValidationType _validationType; 234public ValidationType ValidationType 247if ((uint)value > (uint)ValidationType.Schema) 330if (ValidationType != ValidationType.None) 353if (ValidationType != ValidationType.None) 376if (ValidationType != ValidationType.None) 422_validationType = ValidationType.None; 433if (_validationType == ValidationType.Schema) 449if (_validationType == ValidationType.Schema) 464if (_validationType == ValidationType.None) 483if (_validationType == ValidationType.DTD) 495if (_validationType == ValidationType.Schema)
System\Xml\Core\XmlValidatingReader.cs (1)
300public ValidationType ValidationType
System\Xml\Core\XmlValidatingReaderImpl.cs (17)
60else if (_reader._validationType != ValidationType.None && severity == XmlSeverityType.Error) 88private ValidationType _validationType; 156_validationType = ValidationType.Auto; 157SetupValidation(ValidationType.Auto); 244_validationType = ValidationType.DTD; 245SetupValidation(ValidationType.DTD); 275settings.ValidationType = ValidationType.DTD; 845if (_validationType != ValidationType.None) 879internal ValidationType ValidationType 947if (_validationType == ValidationType.None) 1038case ValidationType.Auto: 1039SetupValidation(ValidationType.DTD); 1040goto case ValidationType.DTD; 1042case ValidationType.DTD: 1043case ValidationType.None: 1060private void SetupValidation(ValidationType valType) 1072_coreReaderImpl.ValidationEventHandling = (_validationType == ValidationType.None) ? null : _eventHandling;
System\Xml\Core\XsdValidatingReader.cs (1)
203settings.ValidationType = ValidationType.Schema;
System\Xml\Dom\XmlLoader.cs (1)
42&& reader.Settings.ValidationType == ValidationType.Schema)
System\Xml\Schema\AutoValidator.cs (13)
25ValidationType valType = DetectValidationType(); 28case ValidationType.XDR: 33case ValidationType.Schema: 38case ValidationType.Auto: 50private ValidationType DetectValidationType() 61return ValidationType.Schema; 63return ValidationType.XDR; 72return ValidationType.Schema; 76return ValidationType.XDR; 91return ValidationType.XDR; 97return ValidationType.Schema; 103return ValidationType.XDR; 112return ValidationType.Auto;
System\Xml\Schema\BaseValidator.cs (6)
347public static BaseValidator? CreateInstance(ValidationType valType, XmlValidatingReaderImpl reader, XmlSchemaCollection schemaCollection, IValidationEventHandling eventHandling, bool processIdentityConstraints) 351case ValidationType.XDR: 354case ValidationType.Schema: 357case ValidationType.DTD: 360case ValidationType.Auto: 363case ValidationType.None:
System\Xml\Schema\XmlSchemaAttribute.cs (1)
122readerSettings.ValidationType = ValidationType.Schema;
System\Xml\Schema\XmlSchemaElement.cs (1)
198readerSettings.ValidationType = ValidationType.Schema;
System\Xml\Schema\XmlSchemaType.cs (1)
212readerSettings.ValidationType = ValidationType.Schema;
System\Xml\XPath\XPathNavigator.cs (1)
1070readerSettings.ValidationType = ValidationType.Schema;
System.Xml (1)
System.Xml.cs (1)
175[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.ValidationType))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
116[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.ValidationType))]