Skip to content

Source export annotation cleanup#180

Merged
feO2x merged 4 commits into
mainfrom
179-source-export-annotation-cleanup
Jul 24, 2026
Merged

Source export annotation cleanup#180
feO2x merged 4 commits into
mainfrom
179-source-export-annotation-cleanup

Conversation

@feO2x

@feO2x feO2x commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Closes #179

Also implements a new job that checks whether the Single-Source File is out of date.

feO2x and others added 4 commits July 24, 2026 20:41
Signed-off-by: Kenny Pflug <kenny.pflug@live.de>
Signed-off-by: Kenny Pflug <kenny.pflug@live.de>
NormalizeWhitespace indents a single-line comment by one additional
character when it shares a trivia list with an XML documentation comment.
Removing an attribute list merges these two into the same list, but the
misalignment also occurred without annotation removal and was present in
the committed single file.

Align such comments with the XML documentation above them in the
line-based formatting cleanup, and regenerate the single file. The
regeneration also picks up the "using System.Threading" directive that
became stale with MustBePositiveOrInfinite.

Furthermore, drop the unreachable throw when determining the unqualified
attribute name, make the alias-qualified test source compilable, and pass
the test cancellation token when parsing.

Signed-off-by: Kenny Pflug <kenny.pflug@live.de>

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KVPxLqTavx5hjAFWHe8TMc
Signed-off-by: Kenny Pflug <kenny.pflug@live.de>
@feO2x feO2x self-assigned this Jul 24, 2026
@feO2x feO2x linked an issue Jul 24, 2026 that may be closed by this pull request
7 tasks
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Light.GuardClauses 98% 92% 2532
Light.GuardClauses.InternalRoslynAnalyzers 96% 86% 52
Light.GuardClauses.InternalRoslynAnalyzers.CodeFixes 95% 100% 8
Light.GuardClauses.SourceCodeTransformation 93% 85% 688
Summary 96% (4843 / 5029) 90% (2682 / 2975) 3280

@feO2x
feO2x merged commit f8581a1 into main Jul 24, 2026
3 checks passed
@feO2x
feO2x deleted the 179-source-export-annotation-cleanup branch July 24, 2026 20:10
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.

Refactor source-export annotation removal to use Roslyn

1 participant