1 write to Value
Microsoft.VisualStudio.Extensibility.Testing.Xunit (1)
Windows.Win32.HRESULT.g.cs (1)
32 internal HRESULT(int value) => this.Value = value;
12 references to Value
Microsoft.VisualStudio.Extensibility.Testing.Xunit (12)
Windows.Win32.HRESULT.g.cs (12)
34 public static implicit operator int(HRESULT value) => value.Value; 38 public static bool operator ==(HRESULT left, HRESULT right) => left.Value == right.Value; 42 public bool Equals(HRESULT other) => this.Value == other.Value; 46 public override int GetHashCode() => this.Value.GetHashCode(); 49 public override string ToString() => string.Format(global::System.Globalization.CultureInfo.InvariantCulture, "0x{0:X8}", this.Value); 51 public static implicit operator uint(HRESULT value) => (uint)value.Value; 57 internal bool Succeeded => this.Value >= 0; 61 internal bool Failed => this.Value < 0; 76 Marshal.ThrowExceptionForHR(this.Value, errorInfo); 81 internal string ToString(string format, IFormatProvider formatProvider) => ((uint)this.Value).ToString(format, formatProvider);