Skip to content

Fix formatting warning - #7384

Merged
zivkan merged 1 commit into
devfrom
dev-zivkan-formatting
May 13, 2026
Merged

zivkan merged 1 commit into
devfrom
dev-zivkan-formatting

Conversation

@zivkan

@zivkan zivkan commented May 12, 2026

Copy link
Copy Markdown
Member

Bug

Fixes: build warning

Description

The .NET 10.0.200 SDK changed how the formatting validation works on goto labels. In 10.0.100 you would have comments at the reduced indentation level that the label: has, whereas 10.0.200 and later expects it to be at the indentation that other code is at.

By moving the comment under the label, both 10.0.100 and 10.0.200 expect the same indentation, so we no longer get warnings/errors in one but not the other.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests N/A
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc. N/A

@zivkan
zivkan requested a review from a team as a code owner May 12, 2026 06:43
@zivkan
zivkan requested review from Nigusu-Allehu and nkolev92 May 12, 2026 06:43
@zivkan
zivkan merged commit e69ab5e into dev May 13, 2026
17 of 18 checks passed
@zivkan
zivkan deleted the dev-zivkan-formatting branch May 13, 2026 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants