2 writes to Value
System.Windows.Forms.Primitives (2)
Windows.Win32.BOOLEAN.g.cs (2)
29
internal BOOLEAN(byte value) => this.
Value
= value;
47
internal BOOLEAN(bool value) => this.
Value
= value ? (byte)1 : (byte)0;
8 references to Value
System.Windows.Forms.Primitives (8)
Windows.Win32.BOOLEAN.g.cs (8)
31
public static implicit operator byte(BOOLEAN value) => value.
Value
;
35
public static bool operator ==(BOOLEAN left, BOOLEAN right) => left.
Value
== right.
Value
;
39
public bool Equals(BOOLEAN other) => this.
Value
== other.
Value
;
43
public override int GetHashCode() => this.
Value
.GetHashCode();
45
public override string ToString() => $"0x{this.
Value
:x}";
49
public static implicit operator bool(BOOLEAN value) => value.
Value
!= 0;