A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.
2.05k
stars
85
forks
source link
PInvoke007 - The API "IOCTL_*" is ambiguous. Please specify one of: "IOCTL_*" or "IOCTL_*". #988
Closed
Nuklon closed 1 year ago
Actual behavior
Doesn't build with the error. The "one of" are both identical. Weirdly it does generate the data.
Expected behavior
Should work OK.
Repro steps
NativeMethods.txt
content:Context
LangVersion
(if explicitly set by project): latest