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