1 write to datatype
System.Xml (1)
System\Xml\Schema\FacetChecker.cs (1)
46
datatype
= baseDatatype;
58 references to datatype
System.Xml (58)
System\Xml\Schema\FacetChecker.cs (58)
48
baseFlags =
datatype
.Restriction != null ?
datatype
.Restriction.Flags : 0;
49
baseFixedFlags =
datatype
.Restriction != null ?
datatype
.Restriction.FixedFlags : 0;
50
validRestrictionFlags =
datatype
.ValidRestrictionFlags;
52
builtInEnum = !(
datatype
is Datatype_union ||
datatype
is Datatype_List) ?
datatype
.TypeCode : 0;
53
builtInType = (int)builtInEnum > 0 ? DatatypeImplementation.GetSimpleTypeFromTypeCode(builtInEnum).Datatype :
datatype
;
62
if (!
datatype
.IsEqual(
datatype
.Restriction.Length, derivedRestriction.Length)) {
67
if (
datatype
.Restriction.Length < derivedRestriction.Length) {
73
if (
datatype
.Restriction.MinLength > derivedRestriction.Length) {
79
if (
datatype
.Restriction.MaxLength < derivedRestriction.Length) {
92
if (!
datatype
.IsEqual(
datatype
.Restriction.MinLength, derivedRestriction.MinLength)) {
97
if (
datatype
.Restriction.MinLength > derivedRestriction.MinLength) {
102
if (
datatype
.Restriction.Length < derivedRestriction.MinLength) {
115
if (!
datatype
.IsEqual(
datatype
.Restriction.MaxLength, derivedRestriction.MaxLength)) {
120
if (
datatype
.Restriction.MaxLength < derivedRestriction.MaxLength) {
125
if (
datatype
.Restriction.Length > derivedRestriction.MaxLength) {
153
derivedRestriction.Enumeration.Add(ParseFacetValue(
datatype
, facet, Res.Sch_EnumerationFacetInvalid, nsmgr, nameTable));
173
if (!
datatype
.IsEqual(
datatype
.Restriction.WhiteSpace, derivedRestriction.WhiteSpace)) {
180
baseWhitespace =
datatype
.Restriction.WhiteSpace;
183
baseWhitespace =
datatype
.BuiltInWhitespaceFacet;
204
if (!
datatype
.IsEqual(
datatype
.Restriction.MaxInclusive, derivedRestriction.MaxInclusive)) {
218
if (!
datatype
.IsEqual(
datatype
.Restriction.MaxExclusive, derivedRestriction.MaxExclusive)) {
232
if (!
datatype
.IsEqual(
datatype
.Restriction.MinInclusive, derivedRestriction.MinInclusive)) {
246
if (!
datatype
.IsEqual(
datatype
.Restriction.MinExclusive, derivedRestriction.MinExclusive)) {
261
if (!
datatype
.IsEqual(
datatype
.Restriction.TotalDigits, derivedRestriction.TotalDigits)) {
266
if(derivedRestriction.TotalDigits >
datatype
.Restriction.TotalDigits) {
278
if ((derivedRestriction.FractionDigits != 0) && (
datatype
.TypeCode != XmlTypeCode.Decimal)) {
282
if (derivedRestriction.FractionDigits >
datatype
.Restriction.FractionDigits) {
313
RestrictionFacets restriction =
datatype
.Restriction;
317
if (
datatype
.Compare(value, restriction.MaxInclusive) > 0) {
322
if (
datatype
.Compare(value, restriction.MaxExclusive) >= 0) {
330
if (
datatype
.Compare(value, restriction.MaxExclusive) > 0) {
335
if (
datatype
.Compare(value, restriction.MaxInclusive) > 0) {
343
if (
datatype
.Compare(value, restriction.MinInclusive) < 0) {
348
if (
datatype
.Compare(value, restriction.MinExclusive) < 0) {
353
if (
datatype
.Compare(value, restriction.MaxExclusive) >= 0) {
361
if (
datatype
.Compare(value, restriction.MinExclusive) < 0) {
366
if (
datatype
.Compare(value, restriction.MinInclusive) < 0) {
371
if (
datatype
.Compare(value, restriction.MaxExclusive) >= 0) {
384
RestrictionFacets baseRestriction =
datatype
.Restriction;
422
if (
datatype
.Compare(derivedRestriction.MinInclusive, derivedRestriction.MaxInclusive) > 0) {
430
if (
datatype
.Compare(derivedRestriction.MinInclusive, derivedRestriction.MaxExclusive) > 0) {
438
if (
datatype
.Compare(derivedRestriction.MinExclusive, derivedRestriction.MaxExclusive) > 0) {
446
if (
datatype
.Compare(derivedRestriction.MinExclusive, derivedRestriction.MaxInclusive) > 0) {
458
RestrictionFacets baseRestriction =
datatype
.Restriction;
617
throw new XmlSchemaException(errorCode,
datatype
.TypeCodeString, facet);