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
;
216
if (
_value
< value) return -1;
217
if (
_value
> value) return 1;
222
public bool Equals(nint other) =>
_value
== other;
224
public override string ToString() => ((nint_t)
_value
).ToString();
225
public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format) => ((nint_t)
_value
).ToString(format);
226
public string ToString(IFormatProvider? provider) => ((nint_t)
_value
).ToString(provider);
227
public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format, IFormatProvider? provider) => ((nint_t)
_value
).ToString(format, provider);
230
((nint_t)
_value
).TryFormat(destination, out charsWritten, format, provider);
234
((nint_t)
_value
).TryFormat(utf8Destination, out bytesWritten, format, provider);
509
nint value =
_value
;
527
if (BinaryPrimitives.TryWriteIntPtrBigEndian(destination,
_value
))
540
if (BinaryPrimitives.TryWriteIntPtrLittleEndian(destination,
_value
))