Skip to content
This repository has been archived by the owner. It is now read-only.
This repository has been archived by the owner. It is now read-only.

RECS0154 is shown for generated code. #387

Open
@SebastianStehle

Description

@SebastianStehle

Hi,

When using the analyzers in unit test project I get an error for the following code.

// <auto-generated> This file has been auto generated. </auto-generated>
using System;
[Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode]
class AutoGeneratedProgram {static void Main(string[] args){}}

The file comes from the TestSDK and is placed in the nuget folder. I have disabled the analyzer in the settings but it does not help.

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