2 writes to Value
Microsoft.VisualStudio.Extensibility.Testing.Xunit (2)
Windows.Win32.BOOL.g.cs (2)
28
internal BOOL(int value) => this.
Value
= value;
46
internal BOOL(bool value) => this.
Value
= value ? 1 : 0;
8 references to Value
Microsoft.VisualStudio.Extensibility.Testing.Xunit (8)
Windows.Win32.BOOL.g.cs (8)
30
public static implicit operator int(BOOL value) => value.
Value
;
34
public static bool operator ==(BOOL left, BOOL right) => left.
Value
== right.
Value
;
38
public bool Equals(BOOL other) => this.
Value
== other.
Value
;
42
public override int GetHashCode() => this.
Value
.GetHashCode();
44
public override string ToString() => $"0x{this.
Value
:x}";
48
public static implicit operator bool(BOOL value) => value.
Value
!= 0;