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