Closed wherewhere closed 1 year ago
We should be able to suppress generation of these when the types it references aren't included in the compilation. Windows.Foundation cast operations is an option we could do when those types exist in the compilation as well.
Actual behavior
Expected behavior
Don't generate it when System.Drawing is not installed. It will be better if it can generate cast operators to Windows.Foundation
Repro steps
NativeMethods.txt
content:Context
LangVersion
(if explicitly set by project): 11