1 write to Value
Microsoft.AspNetCore.Server.IIS (1)
Windows.Win32.HRESULT.g.cs (1)
33
internal HRESULT(int value) => this.
Value
= value;
12 references to Value
Microsoft.AspNetCore.Server.IIS (12)
Windows.Win32.HRESULT.g.cs (12)
35
public static implicit operator int(HRESULT value) => value.
Value
;
39
public static bool operator ==(HRESULT left, HRESULT right) => left.
Value
== right.
Value
;
43
public bool Equals(HRESULT other) => this.
Value
== other.
Value
;
47
public override int GetHashCode() => this.
Value
.GetHashCode();
50
public override string ToString() => string.Format(global::System.Globalization.CultureInfo.InvariantCulture, "0x{0:X8}", this.
Value
);
52
public static implicit operator uint(HRESULT value) => (uint)value.
Value
;
58
internal bool Succeeded => this.
Value
>= 0;
62
internal bool Failed => this.
Value
< 0;
77
Marshal.ThrowExceptionForHR(this.
Value
, errorInfo);
82
internal string ToString(string format, IFormatProvider formatProvider) => ((uint)this.
Value
).ToString(format, formatProvider);