24 references to MaxLength
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;
1294
RestrictionFlags.
MaxLength
|
2206
RestrictionFlags.
MaxLength
|
2298
RestrictionFlags.
MaxLength
|
2394
RestrictionFlags.
MaxLength
|
2473
RestrictionFlags.
MaxLength
|
2790
RestrictionFlags.
MaxLength
|
System\Xml\Schema\FacetChecker.cs (16)
78
if ((baseFlags & RestrictionFlags.
MaxLength
) != 0) {
110
CheckProhibitedFlag(facet, RestrictionFlags.
MaxLength
, Res.Sch_MaxLengthFacetProhibited);
111
CheckDupFlag(facet, RestrictionFlags.
MaxLength
, Res.Sch_DupMaxLengthFacet);
114
if ((baseFixedFlags & RestrictionFlags.
MaxLength
) != 0) {
119
if ((baseFlags & RestrictionFlags.
MaxLength
) != 0) {
129
SetFlag(facet, RestrictionFlags.
MaxLength
);
400
(derivedRestriction.Flags & (RestrictionFlags.MinLength|RestrictionFlags.
MaxLength
)) != 0
410
(derivedRestriction.Flags & RestrictionFlags.
MaxLength
) != 0
475
(derivedRestriction.Flags & RestrictionFlags.
MaxLength
) == 0 &&
476
(baseFlags & RestrictionFlags.
MaxLength
) != 0
479
SetFlag(RestrictionFlags.
MaxLength
);
1147
if ((flags & RestrictionFlags.
MaxLength
) != 0) {
1256
if ((flags & RestrictionFlags.
MaxLength
) != 0) {
1309
if ((flags & RestrictionFlags.
MaxLength
) != 0) {
1346
if ((flags & (RestrictionFlags.Length|RestrictionFlags.MinLength|RestrictionFlags.
MaxLength
)) != 0) {
1360
if ((flags & RestrictionFlags.
MaxLength
) != 0) {