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
"#pragma warning dissable" has no impact on warnings produced by a source generator, the warnings are always presented to the user.
On the flip side, source generator warnings don't seem to be visible to the VS IDE. The same "#pragma warning disable" statement which has no effect on disabling a source generator warning ends up being underlined by VS and flagged as a superfluous suppression. So the IDE isn't treating the warning from the source generator has being present, so it thinks the suppression is for naught.
Diagnostics produced by source generators do not respect the
/warnAsError
or/noWarn
compiler flags.The text was updated successfully, but these errors were encountered: