1 write to _value
System.Private.Windows.Core (1)
Windows\Win32\System\Com\ComScope.cs (1)
38
public ComScope(T* value) =>
_value
= (nint)value;
9 references to _value
System.Private.Windows.Core (9)
Windows\Win32\System\Com\ComScope.cs (9)
35
public T* Value => (T*)
_value
;
36
public IUnknown* AsUnknown => (IUnknown*)
_value
;
42
public static implicit operator T*(in ComScope<T> scope) => (T*)scope.
_value
;
44
public static implicit operator void*(in ComScope<T> scope) => (void*)scope.
_value
;
46
public static implicit operator nint(in ComScope<T> scope) => scope.
_value
;
49
public static implicit operator T**(in ComScope<T> scope) => (T**)Unsafe.AsPointer(ref Unsafe.AsRef(in scope.
_value
));
52
public static implicit operator void**(in ComScope<T> scope) => (void**)Unsafe.AsPointer(ref Unsafe.AsRef(in scope.
_value
));
54
public bool IsNull =>
_value
== 0;
127
IUnknown* unknown = (IUnknown*)
_value
;