24 references to Length
System.Xml (24)
System\Xml\Schema\DataTypeImplementation.cs (8)
461
if (flags != 0 && (flags & (RestrictionFlags.
Length
| RestrictionFlags.MinLength | RestrictionFlags.MaxLength | RestrictionFlags.MaxExclusive | RestrictionFlags.MaxInclusive | RestrictionFlags.MinExclusive | RestrictionFlags.MinInclusive | RestrictionFlags.TotalDigits | RestrictionFlags.FractionDigits | RestrictionFlags.Enumeration)) != 0)
921
return RestrictionFlags.
Length
|RestrictionFlags.MinLength|RestrictionFlags.MaxLength|RestrictionFlags.Enumeration|RestrictionFlags.WhiteSpace | RestrictionFlags.Pattern;
1292
return RestrictionFlags.
Length
|
2204
return RestrictionFlags.
Length
|
2296
return RestrictionFlags.
Length
|
2392
return RestrictionFlags.
Length
|
2471
return RestrictionFlags.
Length
|
2788
return RestrictionFlags.
Length
|
System\Xml\Schema\FacetChecker.cs (16)
57
CheckProhibitedFlag(facet, RestrictionFlags.
Length
, Res.Sch_LengthFacetProhibited);
58
CheckDupFlag(facet, RestrictionFlags.
Length
, Res.Sch_DupLengthFacet);
61
if ((baseFixedFlags & RestrictionFlags.
Length
) != 0) {
66
if ((baseFlags & RestrictionFlags.
Length
) != 0) {
83
SetFlag(facet, RestrictionFlags.
Length
);
101
if ((baseFlags & RestrictionFlags.
Length
) != 0) {
124
if ((baseFlags & RestrictionFlags.
Length
) != 0) {
399
(derivedRestriction.Flags & RestrictionFlags.
Length
) != 0 &&
461
(derivedRestriction.Flags & RestrictionFlags.
Length
) == 0 &&
462
(baseFlags & RestrictionFlags.
Length
) != 0
465
SetFlag(RestrictionFlags.
Length
);
1137
if ((flags & RestrictionFlags.
Length
) != 0) {
1246
if ((flags & RestrictionFlags.
Length
) != 0) {
1299
if ((flags & RestrictionFlags.
Length
) != 0) {
1346
if ((flags & (RestrictionFlags.
Length
|RestrictionFlags.MinLength|RestrictionFlags.MaxLength)) != 0) {
1348
if ((flags & RestrictionFlags.
Length
) != 0) {