Other supporting types are defined within the Microsoft.Windows.Sdk namespace.
I expected, the enum would be a direct descendant of that namespace. Adding System.Diagnostics.Debug as a suffix seems wrong. It is not a descendant of the stated namespace at all too, because the .Sdk is missing.
Repro steps
NativeMethods.txt content:
WIN32_ERROR
2. `NativeMethods.json` content (if present):
not present
3. Any of your own code that should be shared?
none
### Context
- CsWin32 version: `0.1.506-beta`
- Win32Metadata version (if explicitly set by project): `10.2.118-preview`
- Target Framework: `netstandard2.0`
- `LangVersion` (if explicitly set by project): `9.0`
Actual behavior
NativeMethods.txt
Generated code
The enum is generated in the
Windows.Win32.System.Diagnostics.Debug
namespace:Expected behavior
As per README:
I expected, the enum would be a direct descendant of that namespace. Adding
System.Diagnostics.Debug
as a suffix seems wrong. It is not a descendant of the stated namespace at all too, because the.Sdk
is missing.Repro steps
NativeMethods.txt
content: