diff --git a/src/Windows.Core/NTStatus.cs b/src/Windows.Core/NTStatus.cs index faf6ad8e..3e177ec6 100644 --- a/src/Windows.Core/NTStatus.cs +++ b/src/Windows.Core/NTStatus.cs @@ -80,6 +80,11 @@ public partial struct NTSTATUS : IComparable, IComparable, IEquatable< /// private const int FacilityStatusShift = 0; + /// + /// The full NT_STATUS value, as a enum. + /// + private readonly Code value; + /// /// Initializes a new instance of the struct. /// @@ -104,13 +109,13 @@ public NTSTATUS(int status) /// The value of the NTStatus. public NTSTATUS(Code status) { - this.Value = status; + this.value = status; } /// /// Gets the full NT_STATUS value, as a enum. /// - public Code Value { get; } + public Code Value => this.value; /// /// Gets the NT_STATUS as a 32-bit signed integer.