You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated type, Windows.Win32.Foundation.PCWSTR is not marked with [GeneratedCode] like the other generated ones are (such as BOOL, CHAR, etc.). This causes it to be flagged as "uncovered" in test coverage reports.
Expected behavior
PCWSTR to be marked with [GeneratedCode] like the other generated types.
Repro steps
NativeMethods.txt content:
CreateFile
Observe generation of various Windows.Win32.X.g.cs files by CsWin32.
Observe that all types but that in Windows.Win32.PCWSTR.g.cs are marked with [GeneratedCode]
Context
CsWin32 version: 0.3.106
Win32Metadata version (if explicitly set by project): N/A
Target Framework: net8.0
LangVersion: latest
The text was updated successfully, but these errors were encountered:
Actual behavior
The generated type,
Windows.Win32.Foundation.PCWSTR
is not marked with[GeneratedCode]
like the other generated ones are (such asBOOL
,CHAR
, etc.). This causes it to be flagged as "uncovered" in test coverage reports.Expected behavior
PCWSTR
to be marked with[GeneratedCode]
like the other generated types.Repro steps
NativeMethods.txt
content:Windows.Win32.X.g.cs
files by CsWin32.Windows.Win32.PCWSTR.g.cs
are marked with[GeneratedCode]
Context
net8.0
LangVersion
:latest
The text was updated successfully, but these errors were encountered: