pinvoke
pinvoke copied to clipboard
Refactor FacilityCode bitshift op to Facility properties
Simply put, this implies moving the bitshift operation out of the enum definition and into the NTSTATUS.Facility and HResult.Facility properties. This is more or less the same as what was done to solve #600.
This solution grants users of this library easier understanding of the FacilityCode enum values.
Files to be modified:
- HResult+FacilityCode.cs
- HResult.cs
- HResultFacts.cs
- NTStatus+FacilityCode.cs
- NTStatus.cs
- NTStatusFacts.cs
- PublicAPI.Shipped.txt