Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckProhibitedFlag()

void System.Xml.Schema.FacetsChecker.FacetsCompiler.CheckProhibitedFlag ( XmlSchemaFacet facet,
RestrictionFlags flag,
string errorCode )
inlineprivate

Definition at line 544 of file FacetsChecker.cs.

545 {
546 if ((_validRestrictionFlags & flag) == 0)
547 {
548 throw new XmlSchemaException(errorCode, _datatype.TypeCodeString, facet);
549 }
550 }
readonly RestrictionFlags _validRestrictionFlags
readonly DatatypeImplementation _datatype

References System.Xml.Schema.FacetsChecker.FacetsCompiler._datatype, System.Xml.Schema.FacetsChecker.FacetsCompiler._validRestrictionFlags, System.Xml.Dictionary, and System.Xml.Schema.XmlSchemaDatatype.TypeCodeString.

Referenced by System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileEnumerationFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileFractionDigitsFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileLengthFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileMaxExclusiveFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileMaxInclusiveFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileMaxLengthFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileMinExclusiveFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileMinInclusiveFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileMinLengthFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompilePatternFacet(), System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileTotalDigitsFacet(), and System.Xml.Schema.FacetsChecker.FacetsCompiler.CompileWhitespaceFacet().