Skip to content

CS0168 warnings #323

@rgroenewoudt

Description

@rgroenewoudt

In my interface I'm using [Obsolete] to mark certain methods that should not be called anymore (replaced by others) but this results in a warning that I cannot suppress unless I suppress it entirely in my project:

\obj\Debug\net9.0\TypedSignalR.Client\TypedSignalR.Client.SourceGenerator\TypedSignalR.Client.HubConnectionExtensions.Binder.Generated.cs(18,216): warning CS0618: 'IInterface.XX()' is obsolete: 'Replaced by XX2'

CS0618 is also a warning that I cannot suppress using .editorconfig so it would be nice if the source generator itself suppresses it.

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