3 writes to _value
System.Private.Windows.Core (3)
Windows\Win32\System\Com\SafeArrayScope.cs (3)
35
_value
= (nint)value;
86
_value
= (nint)value;
126
_value
= (nint)PInvokeCore.SafeArrayCreate(vt, 1, &saBound);
10 references to _value
System.Private.Windows.Core (10)
Windows\Win32\System\Com\SafeArrayScope.cs (10)
28
public SAFEARRAY* Value => (SAFEARRAY*)
_value
;
127
if (
_value
== 0)
224
PInvokeCore.SafeArrayPutElement((SAFEARRAY*)
_value
, pIndices, value).ThrowOnFailure();
230
public bool IsNull =>
_value
== 0;
236
SAFEARRAY* safeArray = (SAFEARRAY*)
_value
;
249
public static explicit operator VARIANT(in SafeArrayScope<T> scope) => new() { vt = VARENUM.VT_ARRAY | scope.Value->VarType, data = new() { parray = (SAFEARRAY*)scope.
_value
} };
251
public static implicit operator SAFEARRAY*(in SafeArrayScope<T> scope) => (SAFEARRAY*)scope.
_value
;
253
public static implicit operator nint(in SafeArrayScope<T> scope) => scope.
_value
;
256
public static implicit operator SAFEARRAY**(in SafeArrayScope<T> scope) => (SAFEARRAY**)Unsafe.AsPointer(ref Unsafe.AsRef(in scope.
_value
));
259
public static implicit operator void**(in SafeArrayScope<T> scope) => (void**)Unsafe.AsPointer(ref Unsafe.AsRef(in scope.
_value
));