1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.HWND.g.cs (1)
29
internal HWND(void* value) => this.
Value
= value;
13 references to Value
System.Private.Windows.Core (12)
Windows.Win32.HWND.g.cs (10)
37
internal bool IsNull =>
Value
== default;
39
public static implicit operator void*(HWND value) => value.
Value
;
43
public static bool operator ==(HWND left, HWND right) => left.
Value
== right.
Value
;
47
public bool Equals(HWND other) => this.
Value
== other.
Value
;
51
public override int GetHashCode() => unchecked((int)this.
Value
);
53
public override string ToString() => $"0x{(nuint)this.
Value
:x}";
55
public static implicit operator IntPtr(HWND value) => new IntPtr(value.
Value
);
61
public static implicit operator HANDLE(HWND value) => new HANDLE(value.
Value
);
Windows\Win32\Foundation\LPARAM.cs (1)
24
public static unsafe explicit operator LPARAM(HWND value) => (LPARAM)value.
Value
;
Windows\Win32\Foundation\WPARAM.cs (1)
14
public static explicit operator WPARAM(HWND value) => new((nuint)value.
Value
);
System.Windows.Forms (1)
System\Windows\Forms\Form.EnumThreadWindowsCallback.cs (1)
45
Debug.Assert(oldValue == (nint)_formHandle.
Value
);