5 writes to _value
System.Numerics.Tensors (5)
System\Buffers\NIndex.cs (5)
36
_value
= ~value;
38
_value
= value;
50
_value
= ~index.Value;
52
_value
= index.Value;
58
_value
= value;
10 references to _value
System.Numerics.Tensors (10)
System\Buffers\NIndex.cs (10)
110
if (
_value
< 0)
111
return ~
_value
;
113
return
_value
;
118
public bool IsFromEnd =>
_value
< 0;
131
nint offset =
_value
;
145
public override bool Equals([NotNullWhen(true)] object? value) => value is NIndex other &&
_value
== other.
_value
;
149
public bool Equals(NIndex other) =>
_value
== other.
_value
;
152
public override int GetHashCode() =>
_value
.GetHashCode();