Skip to content

Fix missing indentation in generated API diffs#10472

Open
svick wants to merge 1 commit into
dotnet:mainfrom
svick:fix-apidiff-indentation
Open

Fix missing indentation in generated API diffs#10472
svick wants to merge 1 commit into
dotnet:mainfrom
svick:fix-apidiff-indentation

Conversation

@svick

@svick svick commented Jul 10, 2026

Copy link
Copy Markdown
Member

The api-diff tool had a bug where the first member of a type could lose its indentation in the generated markdown (#10213). This was caused by a synthesized default constructor lacking a body/semicolon, which fused it with the following member during formatting.

The tool is being fixed in dotnet/sdk#54130, but the already-generated diff files need manual correction. This re-indents the 101 affected member lines across 19 files to align with their sibling members.

Only whitespace (indentation) is changed; no API content is modified.

Contributes to #10213

The api-diff tool had a bug where the first member of a type could lose
its indentation in the generated markdown (dotnet#10213). This was
caused by a synthesized default constructor lacking a body/semicolon,
which fused it with the following member during formatting.

The tool is being fixed in dotnet/sdk#54130, but the already-generated
diff files need manual correction. This re-indents the 101 affected
member lines across 19 files to align with their sibling members.

Only whitespace (indentation) is changed; no API content is modified.

Ref dotnet#10213

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@svick svick requested review from leecow and rbhanda as code owners July 10, 2026 13:12
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.

1 participant