4 instantiations of Index
Microsoft.Private.Windows.Core (4)
System.Index.g.cs (4)
50
public static global::System.Index Start => new global::System.
Index
(0);
53
public static global::System.Index End => new global::System.
Index
(~0);
65
return new global::System.
Index
(value);
78
return new global::System.
Index
(~value);
24 references to Index
Microsoft.Private.Windows.Core (24)
System.Index.g.cs (12)
19
internal readonly struct Index : global::System.IEquatable<global::System.
Index
>
34
global::System.
Index
.ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException();
50
public static global::System.
Index
Start => new global::System.Index(0);
53
public static global::System.
Index
End => new global::System.Index(~0);
58
public static global::System.
Index
FromStart(int value)
62
global::System.
Index
.ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException();
71
public static global::System.
Index
FromEnd(int value)
75
global::System.
Index
.ThrowHelper.ThrowValueArgumentOutOfRange_NeedNonNegNumException();
121
public override bool Equals([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] object? value) => value is global::System.
Index
&& _value == ((global::System.
Index
)value)._value;
125
public bool Equals(global::System.
Index
other) => _value == other._value;
131
public static implicit operator global::System.
Index
(int value) => FromStart(value);
System.Range.g.cs (12)
23
public global::System.
Index
Start { get; }
26
public global::System.
Index
End { get; }
31
public Range(global::System.
Index
start, global::System.
Index
end)
61
public static global::System.Range StartAt(global::System.
Index
start) => new global::System.Range(start, global::System.
Index
.End);
64
public static global::System.Range EndAt(global::System.
Index
end) => new global::System.Range(global::System.
Index
.Start, end);
67
public static global::System.Range All => new global::System.Range(global::System.
Index
.Start, global::System.
Index
.End);
80
global::System.
Index
startIndex = Start;
87
global::System.
Index
endIndex = End;