Closed harborsiem closed 1 year ago
The VARENUM should have a FlagsAttribute because one can define VT_VECTOR | VT_UI4 for example
The VARENUM should be marked with ` [Flags] public enum VARENUM : ushort { ...
`
NativeMethods.txt content:
NativeMethods.txt
VARENUM
NativeMethods.json content (if present):
NativeMethods.json
Any of your own code that should be shared?
LangVersion
9
The problem occurs with the ToString method. It needs extra work without the FlagsAttribute.
It is not really Flags
Actual behavior
The VARENUM should have a FlagsAttribute because one can define VT_VECTOR | VT_UI4 for example
Expected behavior
The VARENUM should be marked with ` [Flags]
public enum VARENUM : ushort { ...
`
Repro steps
NativeMethods.txt
content:NativeMethods.json
content (if present):Any of your own code that should be shared?
Context
LangVersion
(if explicitly set by project): [e.g.9
]