2 writes to _value
System.Windows.Forms.Primitives (2)
Windows\Win32\System\Com\ComSafeArrayScope.cs (2)
30
_value
= new(value);
41
_value
= new(PInvokeCore.SafeArrayCreate(VARENUM.VT_UNKNOWN, 1, &saBound));
8 references to _value
System.Windows.Forms.Primitives (8)
Windows\Win32\System\Com\ComSafeArrayScope.cs (8)
54
using ComScope<IUnknown> unknown = new((IUnknown*)
_value
[i]);
59
set =>
_value
[i] = (nint)value;
62
public int Length =>
_value
.Length;
64
public bool IsNull =>
_value
.IsNull;
66
public bool IsEmpty =>
_value
.IsEmpty;
68
public void Dispose() =>
_value
.Dispose();
70
public static implicit operator SAFEARRAY**(in ComSafeArrayScope<T> scope) => scope.
_value
;
72
public static implicit operator SAFEARRAY*(in ComSafeArrayScope<T> scope) => scope.
_value
;