mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix #8028 This change adds support for specifying the underlying type for an enum: ```powershell enum MyEnum : long { A = 0x0FFFFFFFFFFFFFFF B } # or enum MyByte : byte { A = 0x01 B = 0x02 C = 0x03 D } ```
Testing
The tests are organized by testing language. Thus Pester tests, which are written in the PowerShell language, are in ./powershell and xUnit tests, written in C#, are in ./xUnit. The third-party shebang test is in ./shebang.