4 writes to _value
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (4)
46
_value
= value;
53
_value
= (nint)value;
63
_value
= (nint)value;
77
_value
= (nint)value;
17 references to _value
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (17)
84
long value =
_value
;
93
long value =
_value
;
104
return checked((int)
_value
);
111
public long ToInt64() =>
_value
;
166
public unsafe void* ToPointer() => (void*)
_value
;
198
if (
_value
< value) return -1;
199
if (
_value
> value) return 1;
204
public bool Equals(nint other) =>
_value
== other;
206
public override string ToString() => ((nint_t)
_value
).ToString();
207
public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format) => ((nint_t)
_value
).ToString(format);
208
public string ToString(IFormatProvider? provider) => ((nint_t)
_value
).ToString(provider);
209
public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format, IFormatProvider? provider) => ((nint_t)
_value
).ToString(format, provider);
212
((nint_t)
_value
).TryFormat(destination, out charsWritten, format, provider);
216
((nint_t)
_value
).TryFormat(utf8Destination, out bytesWritten, format, provider);
491
nint value =
_value
;
509
if (BinaryPrimitives.TryWriteIntPtrBigEndian(destination,
_value
))
522
if (BinaryPrimitives.TryWriteIntPtrLittleEndian(destination,
_value
))