Skip to content

USP0007 failed to suppress CS0649 #417

@talalmajali

Description

@talalmajali

Bug description

A clear and concise description of what the bug is.

  • Version of analyzers assembly: 1.25
  • Analyzer rule: USP0007
  • Error (exception message, type, and callstack where applicable):

Hello, i'm running dotnet tools v8.0.414 with Roslynator.Analyzers.4.14.0 and Microsoft.Unity.Analyzers.1.25, when running roslynator analyze with Roslynator and Microsoft.Unity.Analyzers the CS0649 warning is never suppressed for SerializeField, i have the following rule in the .editorconfig
dotnet_diagnostic.USP0007.severity = warning
also i have already validated that Unity Analyzers are working fine by testing other rules like UNT0001, i keep getting the following message Field 'Foo' is never assigned to, and will always have its default value null, any idea?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions