Skip to content

Better manifestation of analyzer diagnostics #196

@AArnott

Description

@AArnott

We should move more or all of our diagnostics from the source generator to their own analyzers. Analyzers run more frequently by default than source generators in VS, and thus users are far more likely to see the warnings/errors that they emit. Source generated warnings may only appear in full builds at least for some user configurations.

Following is a discussion where a user was unable to discover that partial needed to be added to their declarations because the warning never showed up in the VS error list (though it did appear in the full build log):
AArnott/Nerdbank.MessagePack#466 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions