4 instantiations of Index
Microsoft.Interop.JavaScript.JSImportGenerator (4)
src\libraries\System.Private.CoreLib\src\System\Index.cs (4)
54
public static Index Start => new
Index
(0);
57
public static Index End => new
Index
(~0);
69
return new
Index
(value);
82
return new
Index
(~value);
9 references to Index
Microsoft.Interop.JavaScript.JSImportGenerator (9)
src\libraries\System.Private.CoreLib\src\System\Index.cs (9)
23
readonly struct Index : IEquatable<
Index
>
54
public static
Index
Start => new Index(0);
57
public static
Index
End => new Index(~0);
62
public static
Index
FromStart(int value)
75
public static
Index
FromEnd(int value)
125
public override bool Equals([NotNullWhen(true)] object? value) => value is
Index
&& _value == ((
Index
)value)._value;
129
public bool Equals(
Index
other) => _value == other._value;
135
public static implicit operator
Index
(int value) => FromStart(value);