You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@josefpihrt I just ran into this again with v4.0.0 and v4.0.2. This block of code is being flagged and the fix is to remove the leading 4 spaces from all of the lines.
Product and Version Used:
Project config
Steps to Reproduce:
ASP.NET Core Web App
targeting .net 6RCS0054
toerror
builder.Services
inProgram.cs
Actual Behavior:
This rule reports an error and the build fails. Running the code fix changes the code to this, which also fails the build:
To get the build to pass I have to indent all 3 lines like so:
Expected Behavior:
For this rule to support top-level statements.
The text was updated successfully, but these errors were encountered: