Skip to content

TypeNotFound suppressions #1041

@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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions