Skip to content

Remove dead template code and fix compiler warnings in CodeFixes project - #45

Merged
StefanOssendorf merged 4 commits into
masterfrom
cleanup/fix-codefixes-warnings
Apr 17, 2026
Merged

Remove dead template code and fix compiler warnings in CodeFixes project#45
StefanOssendorf merged 4 commits into
masterfrom
cleanup/fix-codefixes-warnings

Conversation

@StefanOssendorf

Copy link
Copy Markdown
Owner

Summary

  • Removed the unused MakeUppercaseAsync method (leftover VS code-fix template boilerplate) — eliminates CS0618 and CS8604
  • Removed the now-dead root, diagnosticSpan, and declaration variables that were only used to feed MakeUppercaseAsync
  • Dropped async from RegisterCodeFixesAsync (no awaits remain); returns Task.CompletedTask
  • Removed two now-unused using directives (CSharp.Syntax, Rename)

Test plan

  • dotnet build src/Csla.DataPortalExtensionGenerator.Analyzers.CodeFixes/ — 0 warnings, 0 errors
  • dotnet build — full solution clean (pre-existing Demo DPEGEN1002 warnings unaffected)
  • dotnet test — all 123 tests pass

StefanOssendorf and others added 4 commits April 17, 2026 22:04
Co-Authored-By: Stefan Ossendorf <stefan@familie-ossendorf.de>
Co-Authored-By: Stefan Ossendorf <stefan@familie-ossendorf.de>
Co-Authored-By: Stefan Ossendorf <stefan@familie-ossendorf.de>
Co-Authored-By: Stefan Ossendorf <stefan@familie-ossendorf.de>
@StefanOssendorf
StefanOssendorf merged commit f1707b6 into master Apr 17, 2026
1 check passed
@StefanOssendorf
StefanOssendorf deleted the cleanup/fix-codefixes-warnings branch April 17, 2026 21:54
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