dotnet / dotnet/aspnetcore

Add response type attribute code fix places using before license header

Open
#34,631 3 comments 0 reactions 0 assignees View on GitHub
area-mvc bug
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

### Describe the bug
Given a file with a license header, but no existing usings, the Add Response Type Attribute Code Fix Provider will generate a using statement above the license header.

### To Reproduce
Add license headers to the files in https://github.com/dotnet/aspnetcore/tree/main/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest and then run the tests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.