1 write to _datatype
System.Private.Xml (1)
System\Xml\Schema\FacetChecker.cs (1)
43
_datatype
= baseDatatype;
57 references to _datatype
System.Private.Xml (57)
System\Xml\Schema\FacetChecker.cs (57)
45
_baseFlags =
_datatype
.Restriction != null ?
_datatype
.Restriction.Flags : 0;
46
_baseFixedFlags =
_datatype
.Restriction != null ?
_datatype
.Restriction.FixedFlags : 0;
47
_validRestrictionFlags =
_datatype
.ValidRestrictionFlags;
49
_builtInEnum = !(
_datatype
is Datatype_union ||
_datatype
is Datatype_List) ?
_datatype
.TypeCode : 0;
50
_builtInType = (int)_builtInEnum > 0 ? DatatypeImplementation.GetSimpleTypeFromTypeCode(_builtInEnum).Datatype! :
_datatype
;
61
if (!
_datatype
.IsEqual(
_datatype
.Restriction!.Length, _derivedRestriction.Length))
68
if (
_datatype
.Restriction!.Length < _derivedRestriction.Length)
76
if (
_datatype
.Restriction!.MinLength > _derivedRestriction.Length)
84
if (
_datatype
.Restriction!.MaxLength < _derivedRestriction.Length)
100
if (!
_datatype
.IsEqual(
_datatype
.Restriction!.MinLength, _derivedRestriction.MinLength))
107
if (
_datatype
.Restriction!.MinLength > _derivedRestriction.MinLength)
114
if (
_datatype
.Restriction!.Length < _derivedRestriction.MinLength)
130
if (!
_datatype
.IsEqual(
_datatype
.Restriction!.MaxLength, _derivedRestriction.MaxLength))
137
if (
_datatype
.Restriction!.MaxLength < _derivedRestriction.MaxLength)
144
if (
_datatype
.Restriction!.Length > _derivedRestriction.MaxLength)
175
_derivedRestriction.Enumeration.Add(ParseFacetValue(
_datatype
, facet, SR.Sch_EnumerationFacetInvalid, nsmgr, nameTable));
201
if (!
_datatype
.IsEqual(
_datatype
.Restriction!.WhiteSpace, _derivedRestriction.WhiteSpace))
210
baseWhitespace =
_datatype
.Restriction!.WhiteSpace;
214
baseWhitespace =
_datatype
.BuiltInWhitespaceFacet;
239
if (!
_datatype
.IsEqual(
_datatype
.Restriction!.MaxInclusive!, _derivedRestriction.MaxInclusive))
256
if (!
_datatype
.IsEqual(
_datatype
.Restriction!.MaxExclusive!, _derivedRestriction.MaxExclusive))
273
if (!
_datatype
.IsEqual(
_datatype
.Restriction!.MinInclusive!, _derivedRestriction.MinInclusive))
290
if (!
_datatype
.IsEqual(
_datatype
.Restriction!.MinExclusive!, _derivedRestriction.MinExclusive))
308
if (
_datatype
.Restriction!.TotalDigits != _derivedRestriction.TotalDigits)
315
if (_derivedRestriction.TotalDigits >
_datatype
.Restriction!.TotalDigits)
329
if ((_derivedRestriction.FractionDigits != 0) && (
_datatype
.TypeCode != XmlTypeCode.Decimal))
335
if (
_datatype
.Restriction!.FractionDigits != _derivedRestriction.FractionDigits)
342
if (_derivedRestriction.FractionDigits >
_datatype
.Restriction!.FractionDigits)
378
RestrictionFacets? restriction =
_datatype
.Restriction;
384
if (
_datatype
.Compare(value, restriction!.MaxInclusive!) > 0)
391
if (
_datatype
.Compare(value, restriction!.MaxExclusive!) >= 0)
401
if (
_datatype
.Compare(value, restriction!.MaxExclusive!) > 0)
408
if (
_datatype
.Compare(value, restriction!.MaxInclusive!) > 0)
418
if (
_datatype
.Compare(value, restriction!.MinInclusive!) < 0)
425
if (
_datatype
.Compare(value, restriction!.MinExclusive!) < 0)
432
if (
_datatype
.Compare(value, restriction!.MaxExclusive!) >= 0)
442
if (
_datatype
.Compare(value, restriction!.MinExclusive!) < 0)
449
if (
_datatype
.Compare(value, restriction!.MinInclusive!) < 0)
456
if (
_datatype
.Compare(value, restriction!.MaxExclusive!) >= 0)
513
if (
_datatype
.Compare(_derivedRestriction.MinInclusive!, _derivedRestriction.MaxInclusive!) > 0)
523
if (
_datatype
.Compare(_derivedRestriction.MinInclusive!, _derivedRestriction.MaxExclusive!) > 0)
533
if (
_datatype
.Compare(_derivedRestriction.MinExclusive!, _derivedRestriction.MaxExclusive!) > 0)
543
if (
_datatype
.Compare(_derivedRestriction.MinExclusive!, _derivedRestriction.MaxInclusive!) > 0)
559
RestrictionFacets baseRestriction =
_datatype
.Restriction!;
746
throw new XmlSchemaException(errorCode,
_datatype
.TypeCodeString, facet);