Any reason the template HRESULT members are internal? #456
Answered
by
AArnott
AliveDevil
asked this question in
Q&A
-
I don't see any benefit of internalizing ThrowOnFailure: https://github.com/microsoft/CsWin32/blob/main/src/Microsoft.Windows.CsWin32/templates/HRESULT.cs#L43-L62 Same with |
Beta Was this translation helpful? Give feedback.
Answered by
AArnott
Nov 29, 2021
Replies: 1 comment 1 reply
-
Thank you for calling this out. This is an oversight. By default all generated types are |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AliveDevil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for calling this out. This is an oversight. By default all generated types are
internal
, but even when the option to generate public types is set, these template-supplied members remain internal. We'll get this fixed.