microsoft / CsWin32

A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.
MIT License
2.05k stars 85 forks source link

Leverage Unicode/Ansi attributes in metadata #942

Open AArnott opened 1 year ago

AArnott commented 1 year ago

Per https://github.com/microsoft/win32metadata/issues/711, the metadata now declares unicode vs. ansi methods. CsWin32 already detects these by method naming convention, but we can drop this now in favor of the attributes.