2 writes to Value
Microsoft.AspNetCore.Server.HttpSys (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;
8 references to Value
Microsoft.AspNetCore.Server.HttpSys (8)
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;