Merged
Conversation
Contributor
Author
|
Messed up the versioning command, which is why there are several bumps. |
Contributor
There was a problem hiding this comment.
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.