48 new Map(
'c',
"\\p{_xmlC}"),
49 new Map(
'C',
"\\P{_xmlC}"),
50 new Map(
'd',
"\\p{_xmlD}"),
51 new Map(
'D',
"\\P{_xmlD}"),
52 new Map(
'i',
"\\p{_xmlI}"),
53 new Map(
'I',
"\\P{_xmlI}"),
54 new Map(
'w',
"\\p{_xmlW}"),
55 new Map(
'W',
"\\P{_xmlW}")
171 if (
facet.Value ==
"preserve")
175 else if (
facet.Value ==
"replace")
181 if (!(
facet.Value ==
"collapse"))
306 if (
text.Contains(
'|'))
322 switch (
facet.FacetType)
521 for (
int j = 0;
j <
s_map.Length;
j++)
757 internal static decimal
Power(
int x,
int y)
763 return decimal.MaxValue;
765 for (
int i = 0;
i < y;
i++)
757 internal static decimal
Power(
int x,
int y) {
…}
virtual void AddRange(ICollection c)
virtual int Add(object? value)
static string Sch_MinInclusiveExclusive
static string Sch_MaxExclusiveFacetProhibited
static string Sch_FractionDigitsFacetProhibited
static string Sch_TotalDigitsFacetInvalid
static string Sch_MaxExclusiveFacetInvalid
static string Sch_FractionDigitsNotOnDecimal
static string Sch_MinExlMaxExlMismatch
static string Sch_MinExclusiveGtMaxInclusive
static string Sch_MaxLengthFacetInvalid
static string Sch_MaxMinLengthBaseLength
static string Sch_MinExclusiveMismatch
static string Sch_MaxIncExlMismatch
static string Sch_DupMaxLengthFacet
static string Sch_InvalidFacet
static string Sch_LengthFacetProhibited
static string Sch_MaxInclusiveFacetInvalid
static string Sch_MinExclusiveGtMaxExclusive
static string Sch_WhiteSpaceRestriction2
static string Sch_DupMaxExclusiveFacet
static string Sch_MaxInclusiveExclusive
static string Sch_PatternConstraintFailed
static string Sch_UnknownFacet
static string Sch_MinLengthFacetInvalid
static string Sch_MaxLengthGtBaseMaxLength
static string Sch_MaxExlIncMismatch
static string Sch_MaxInclusiveFacetProhibited
static string Sch_TotalDigitsMismatch
static string Sch_MinInclusiveFacetInvalid
static string Sch_MaxLengthFacetProhibited
static string Sch_WhiteSpaceRestriction1
static string Sch_MinInclusiveMismatch
static string Sch_WhiteSpaceFacetProhibited
static string Sch_EnumerationFacetProhibited
static string Sch_DupMaxInclusiveFacet
static string Sch_FacetBaseFixed
static string Sch_DupMinInclusiveFacet
static string Sch_MaxExclusiveMismatch
static string Sch_DupMinExclusiveFacet
static string Sch_MinIncExlMismatch
static string Sch_DupFractionDigitsFacet
static string Sch_EnumerationFacetInvalid
static string Sch_MinInclusiveFacetProhibited
static string Sch_DupMinLengthFacet
static string Sch_MaxInclusiveMismatch
static string Sch_MinExclusiveFacetInvalid
static string Sch_MinInclusiveGtMaxInclusive
static string Sch_MinIncMaxExlMismatch
static string Sch_DupLengthFacet
static string Sch_PatternFacetProhibited
static string Sch_TotalDigitsFacetProhibited
static string Sch_FractionDigitsFacetInvalid
static string Sch_MinExclusiveFacetProhibited
static string Sch_LengthGtBaseLength
static string Sch_FractionDigitsGtTotalDigits
static string Sch_MinExlIncMismatch
static string Sch_LengthFacetInvalid
static string Sch_InvalidWhiteSpace
static string Sch_MinLengthFacetProhibited
static string Sch_PatternFacetInvalid
static string Sch_DupWhiteSpaceFacet
static string Sch_DupTotalDigitsFacet
static string Sch_MinInclusiveGtMaxExclusive
static string Sch_FractionDigitsMismatch
static string Sch_MinLengthGtMaxLength
static string Sch_LengthAndMinMax
static string Sch_MinLengthGtBaseMinLength
unsafe StringBuilder Insert(int index, string? value, int count)
override string ToString()
StringBuilder Append(char value, int repeatCount)
override XmlTypeCode TypeCode
int Compare(byte[] value1, byte[] value2)
override RestrictionFacets Restriction
override bool IsEqual(object o1, object o2)
static XmlSchemaSimpleType GetSimpleTypeFromTypeCode(XmlTypeCode typeCode)
RestrictionFlags ValidRestrictionFlags
Exception CheckPatternFacets(RestrictionFacets restriction, string value)
virtual RestrictionFacets ConstructRestriction(DatatypeImplementation datatype, XmlSchemaObjectCollection facets, XmlNameTable nameTable)
virtual bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(byte[] value, XmlSchemaDatatype datatype)
void CheckWhitespaceFacets(ref string s, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(decimal value, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(long value, XmlSchemaDatatype datatype)
virtual Exception CheckLexicalFacets(ref string parseString, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(int value, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(short value, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(string value, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype)
static decimal Power(int x, int y)
virtual Exception CheckValueFacets(float value, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(object value, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(double value, XmlSchemaDatatype datatype)
virtual Exception CheckValueFacets(DateTime value, XmlSchemaDatatype datatype)
RestrictionFlags FixedFlags
XmlSchemaWhiteSpace WhiteSpace
static int DecimalToInt32(decimal value)
RestrictionFacets? Restriction
Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
XmlSchemaWhiteSpace BuiltInWhitespaceFacet
virtual XmlSchemaDatatypeVariety Variety
static string NonCDataNormalize(string value)
static string CDataNormalize(string value)
void CompileFacetCombinations()
readonly XmlSchemaDatatype _nonNegativeInt
void CompileMaxExclusiveFacet(XmlSchemaFacet facet)
void CompileWhitespaceFacet(XmlSchemaFacet facet)
void CompileMaxLengthFacet(XmlSchemaFacet facet)
void CompileMaxInclusiveFacet(XmlSchemaFacet facet)
void CompileFractionDigitsFacet(XmlSchemaFacet facet)
void CompilePatternFacet(XmlSchemaPatternFacet facet)
readonly RestrictionFlags _baseFlags
static string Preprocess(string pattern)
void SetFlag(XmlSchemaFacet facet, RestrictionFlags flag)
void CompileEnumerationFacet(XmlSchemaFacet facet, IXmlNamespaceResolver nsmgr, XmlNameTable nameTable)
void CheckDupFlag(XmlSchemaFacet facet, RestrictionFlags flag, string errorCode)
void CompileMinInclusiveFacet(XmlSchemaFacet facet)
void FinishFacetCompile()
FacetsCompiler(DatatypeImplementation baseDatatype, RestrictionFacets restriction)
void CheckValue(object value, XmlSchemaFacet facet)
object ParseFacetValue(XmlSchemaDatatype datatype, XmlSchemaFacet facet, string code, IXmlNamespaceResolver nsmgr, XmlNameTable nameTable)
readonly XmlTypeCode _builtInEnum
void CompileMinLengthFacet(XmlSchemaFacet facet)
void CopyFacetsFromBaseType()
readonly RestrictionFlags _validRestrictionFlags
readonly XmlSchemaDatatype _builtInType
void SetFlag(RestrictionFlags flag)
void CompileMinExclusiveFacet(XmlSchemaFacet facet)
void CheckProhibitedFlag(XmlSchemaFacet facet, RestrictionFlags flag, string errorCode)
readonly RestrictionFlags _baseFixedFlags
static readonly Map[] s_map
readonly RestrictionFacets _derivedRestriction
readonly DatatypeImplementation _datatype
void CompileTotalDigitsFacet(XmlSchemaFacet facet)
XmlSchemaPatternFacet _pattern_facet
void CompileLengthFacet(XmlSchemaFacet facet)