3 writes to _value
System.Private.Windows.Core (3)
Windows\Win32\System\Com\SafeArrayScope.cs (3)
35
_value
= (nint)value;
86
_value
= (nint)value;
127
_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
;
128
if (
_value
== 0)
225
PInvokeCore.SafeArrayPutElement((SAFEARRAY*)
_value
, pIndices, value).ThrowOnFailure();
231
public bool IsNull =>
_value
== 0;
237
SAFEARRAY* safeArray = (SAFEARRAY*)
_value
;
250
public static explicit operator VARIANT(in SafeArrayScope<T> scope) => new() { vt = VARENUM.VT_ARRAY | scope.Value->VarType, data = new() { parray = (SAFEARRAY*)scope.
_value
} };
252
public static implicit operator SAFEARRAY*(in SafeArrayScope<T> scope) => (SAFEARRAY*)scope.
_value
;
254
public static implicit operator nint(in SafeArrayScope<T> scope) => scope.
_value
;
257
public static implicit operator SAFEARRAY**(in SafeArrayScope<T> scope) => (SAFEARRAY**)Unsafe.AsPointer(ref Unsafe.AsRef(in scope.
_value
));
260
public static implicit operator void**(in SafeArrayScope<T> scope) => (void**)Unsafe.AsPointer(ref Unsafe.AsRef(in scope.
_value
));