24 references to Length
System.Private.Xml (24)
System\Xml\Schema\DataTypeImplementation.cs (8)
515if (flags != 0 && (flags & (RestrictionFlags.Length | RestrictionFlags.MinLength | RestrictionFlags.MaxLength | RestrictionFlags.MaxExclusive | RestrictionFlags.MaxInclusive | RestrictionFlags.MinExclusive | RestrictionFlags.MinInclusive | RestrictionFlags.TotalDigits | RestrictionFlags.FractionDigits | RestrictionFlags.Enumeration)) != 0) 1009return RestrictionFlags.Length | RestrictionFlags.MinLength | RestrictionFlags.MaxLength | RestrictionFlags.Enumeration | RestrictionFlags.WhiteSpace | RestrictionFlags.Pattern; 1447return RestrictionFlags.Length | 2398return RestrictionFlags.Length | 2496return RestrictionFlags.Length | 2600return RestrictionFlags.Length | 2684return RestrictionFlags.Length | 3017return RestrictionFlags.Length |
System\Xml\Schema\FacetChecker.cs (16)
55CheckProhibitedFlag(facet, RestrictionFlags.Length, SR.Sch_LengthFacetProhibited); 56CheckDupFlag(facet, RestrictionFlags.Length, SR.Sch_DupLengthFacet); 59if ((_baseFixedFlags & RestrictionFlags.Length) != 0) 66if ((_baseFlags & RestrictionFlags.Length) != 0) 89SetFlag(facet, RestrictionFlags.Length); 112if ((_baseFlags & RestrictionFlags.Length) != 0) 142if ((_baseFlags & RestrictionFlags.Length) != 0) 487(_derivedRestriction.Flags & RestrictionFlags.Length) != 0 && 562(_derivedRestriction.Flags & RestrictionFlags.Length) == 0 && 563(_baseFlags & RestrictionFlags.Length) != 0 567SetFlag(RestrictionFlags.Length); 1371if ((flags & RestrictionFlags.Length) != 0) 1505if ((flags & RestrictionFlags.Length) != 0) 1574if ((flags & RestrictionFlags.Length) != 0) 1634if ((flags & (RestrictionFlags.Length | RestrictionFlags.MinLength | RestrictionFlags.MaxLength)) != 0) 1637if ((flags & RestrictionFlags.Length) != 0)