5 writes to _value
System.Numerics.Tensors (5)
System\NIndex.cs (5)
37
_value
= ~value;
39
_value
= value;
51
_value
= ~index.Value;
53
_value
= index.Value;
59
_value
= value;
10 references to _value
System.Numerics.Tensors (10)
System\NIndex.cs (10)
111
if (
_value
< 0)
112
return ~
_value
;
114
return
_value
;
119
public bool IsFromEnd =>
_value
< 0;
132
nint offset =
_value
;
146
public override bool Equals([NotNullWhen(true)] object? value) => value is NIndex other &&
_value
== other.
_value
;
150
public bool Equals(NIndex other) =>
_value
== other.
_value
;
153
public override int GetHashCode() =>
_value
.GetHashCode();