4 instantiations of Index
DesignSurfaceExt (4)
Framework\Index.cs (4)
50public static Index Start => new(0); 53public static Index End => new(~0); 65return new Index(value); 78return new Index(~value);
18 references to Index
DesignSurfaceExt (18)
Framework\Index.cs (8)
19public readonly struct Index : IEquatable<Index> 50public static Index Start => new(0); 53public static Index End => new(~0); 58public static Index FromStart(int value) 71public static Index FromEnd(int value) 125public override bool Equals([NotNullWhen(true)] object? value) => value is Index index && _value == index._value; 130public bool Equals(Index other) => _value == other._value; 136public static implicit operator Index(int value) => FromStart(value);
Framework\Range.cs (10)
18public Index Start { get; } 21public Index End { get; } 26public Range(Index start, Index end) 91public static Range StartAt(Index start) => new(start, Index.End); 94public static Range EndAt(Index end) => new(Index.Start, end); 97public static Range All => new(Index.Start, Index.End);