1 write to _datatype
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (1)
43
_datatype
= baseDatatype;
58 references to _datatype
dotnet-svcutil-lib (58)
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (58)
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)
178
_derivedRestriction.Enumeration.Add(ParseFacetValue(
_datatype
, facet, ResXml.Sch_EnumerationFacetInvalid, nsmgr, nameTable));
204
if (!
_datatype
.IsEqual(
_datatype
.Restriction.WhiteSpace, _derivedRestriction.WhiteSpace))
213
baseWhitespace =
_datatype
.Restriction.WhiteSpace;
217
baseWhitespace =
_datatype
.BuiltInWhitespaceFacet;
242
if (!
_datatype
.IsEqual(
_datatype
.Restriction.MaxInclusive, _derivedRestriction.MaxInclusive))
259
if (!
_datatype
.IsEqual(
_datatype
.Restriction.MaxExclusive, _derivedRestriction.MaxExclusive))
276
if (!
_datatype
.IsEqual(
_datatype
.Restriction.MinInclusive, _derivedRestriction.MinInclusive))
293
if (!
_datatype
.IsEqual(
_datatype
.Restriction.MinExclusive, _derivedRestriction.MinExclusive))
311
if (!
_datatype
.IsEqual(
_datatype
.Restriction.TotalDigits, _derivedRestriction.TotalDigits))
318
if (_derivedRestriction.TotalDigits >
_datatype
.Restriction.TotalDigits)
332
if ((_derivedRestriction.FractionDigits != 0) && (
_datatype
.TypeCode != XmlTypeCode.Decimal))
338
if (_derivedRestriction.FractionDigits >
_datatype
.Restriction.FractionDigits)
377
RestrictionFacets restriction =
_datatype
.Restriction;
383
if (
_datatype
.Compare(value, restriction.MaxInclusive) > 0)
390
if (
_datatype
.Compare(value, restriction.MaxExclusive) >= 0)
400
if (
_datatype
.Compare(value, restriction.MaxExclusive) > 0)
407
if (
_datatype
.Compare(value, restriction.MaxInclusive) > 0)
417
if (
_datatype
.Compare(value, restriction.MinInclusive) < 0)
424
if (
_datatype
.Compare(value, restriction.MinExclusive) < 0)
431
if (
_datatype
.Compare(value, restriction.MaxExclusive) >= 0)
441
if (
_datatype
.Compare(value, restriction.MinExclusive) < 0)
448
if (
_datatype
.Compare(value, restriction.MinInclusive) < 0)
455
if (
_datatype
.Compare(value, restriction.MaxExclusive) >= 0)
470
RestrictionFacets baseRestriction =
_datatype
.Restriction;
514
if (
_datatype
.Compare(_derivedRestriction.MinInclusive, _derivedRestriction.MaxInclusive) > 0)
524
if (
_datatype
.Compare(_derivedRestriction.MinInclusive, _derivedRestriction.MaxExclusive) > 0)
534
if (
_datatype
.Compare(_derivedRestriction.MinExclusive, _derivedRestriction.MaxExclusive) > 0)
544
if (
_datatype
.Compare(_derivedRestriction.MinExclusive, _derivedRestriction.MaxInclusive) > 0)
560
RestrictionFacets baseRestriction =
_datatype
.Restriction;
750
throw new XmlSchemaException(errorCode,
_datatype
.TypeCodeString, facet);