Skip to content

TypeNotFound suppressions #1041

Closed
Closed
@avalery

Description

@avalery

Hello,

Since version 1.17.1, TypeNotFound errors are not thrown but returned as warnings (#957), which is very nice.
But is there a way to suppress them?

I tried adding a SuppressMessage attribute:

[Diagnostics.CodeAnalysis.SuppressMessageAttribute("TypeNotFound", "", Justification = "")]

And also excluding this rule in the settings file:

ExcludeRules = @('TypeNotFound')

But it's not working.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions