Skip to content

Fix 73#75

Merged
kieronlanning merged 7 commits intomainfrom
fix-73
Jul 10, 2025
Merged

Fix 73#75
kieronlanning merged 7 commits intomainfrom
fix-73

Conversation

@kieronlanning
Copy link
Contributor

No description provided.

@kieronlanning
Copy link
Contributor Author

Messed up the versioning command, which is why there are several bumps.

@kieronlanning kieronlanning requested a review from Copilot July 8, 2025 22:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR applies widespread formatting and refactoring to modernize the codebase, converting many multi-line methods, lambdas, and initializers into concise expression-bodied members and single-line chains.

  • Converted methods and properties to expression-bodied syntax where possible
  • Collapsed multi-line lambda/type/literal blocks into single-line expressions
  • Added trailing commas to record and enum declarations for consistency

Reviewed Changes

Copilot reviewed 163 out of 164 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Templates/TypeInfo.cs Switched to single-line expression-bodied members
Templates/TemplateInfo.cs Switched to expression-bodied members
Templates/Sources/*.cs Collapsed attribute usage and constructors
Templates/EmbeddedResources.cs Collapsed exception messages and header logic
TelemetrySourceGenerator*.cs (all parts) Collapsed null checks and lambdas into one-liners
TelemetryDiagnostics*.cs (all parts) Converted overloaded Report methods to expression bodies
Records/*.cs Added trailing commas, expression-bodied members
Helpers/Utilities*.cs, SharedHelpers*.cs, PipelineHelpers*.cs Converted to concise arrow functions and single-line calls
Emitters/*.cs Collapsed builder chains into single-line calls
Project and support files Applied consistent formatting to XML and CS files

@kieronlanning kieronlanning linked an issue Jul 10, 2025 that may be closed by this pull request
@kieronlanning kieronlanning merged commit e6fd861 into main Jul 10, 2025
5 checks passed
@kieronlanning kieronlanning deleted the fix-73 branch July 10, 2025 17: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.

Generation Fails When Partial Interface Used

2 participants