2 writes to Value
System.Private.Windows.Core (2)
Windows.Win32.BOOL.g.cs (2)
29 internal BOOL(int value) => this.Value = value; 47 internal BOOL(bool value) => this.Value = value ? 1 : 0;
10 references to Value
System.Private.Windows.Core (10)
Windows.Win32.BOOL.g.cs (8)
31 public static implicit operator int(BOOL value) => value.Value; 35 public static bool operator ==(BOOL left, BOOL right) => left.Value == right.Value; 39 public bool Equals(BOOL 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(BOOL value) => value.Value != 0;
Windows\Win32\Foundation\BOOL.cs (2)
14public static bool operator true(BOOL value) => value.Value != 0; 16public static bool operator false(BOOL value) => value.Value == 0;