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
I'm using the Source Generator, but when I add the [GenerateOneOf] attribute to a project that requires XML comments, it fails with:
Error CS1591 : Missing XML comment for publicly visible type or member 'Type.explicit operator InternalServiceError(Type)'
Error CS1591 : Missing XML comment for publicly visible type or member 'GenerateOneOfAttribute'
I've tried:
Adding generated_code = true to editor config,
Adding #pragma disable in the declaration of the OneOf,
Using assembly: SuppressMessage
Is it possible to:
Add the missing XML comments, or
Add a pragma disable, or
Make the methods internal (likely not, but it's an option!), or
Something else from the analyzer world to help out?
The text was updated successfully, but these errors were encountered:
I will add #pragma warning disable 1591 to generated files, FYI the same issue exists with System.Text.Json source generator, I've reported an issue there: dotnet/runtime#64499
I'm using the Source Generator, but when I add the
[GenerateOneOf]
attribute to a project that requires XML comments, it fails with:I've tried:
generated_code = true
to editor config,assembly: SuppressMessage
Is it possible to:
The text was updated successfully, but these errors were encountered: