Skip to content

Conversation

@deepsource-autofix
Copy link
Contributor

This PR refactors single-statement getter bodies into expression-bodied members, improving code readability and conciseness.

  • Getters and setters with a single statement in their bodies can be simplified: Previously, the get accessor for Money.Value used a block body with a return statement, which is more verbose than necessary. We replaced it with an expression-bodied member (get => this.Money.Value;) to streamline the code.

This Autofix was generated by AI. Please review the change before merging.

This PR refactors single-statement getter bodies into expression-bodied members, improving code readability and conciseness.

- Getters and setters with a single statement in their bodies can be simplified: Previously, the `get` accessor for `Money.Value` used a block body with a `return` statement, which is more verbose than necessary. We replaced it with an expression-bodied member (`get => this.Money.Value;`) to streamline the code.

> This Autofix was generated by AI. Please review the change before merging.
This commit fixes the style issues introduced in 7bf63ba according to the output
from dotnet-format.

Details: #382
@deepsource-io
Copy link

deepsource-io bot commented Sep 22, 2025

Here's the code health analysis summary for commits e6b083e..7e75d03. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource SQL LogoSQL✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource C# LogoC#✅ Success
🎯 1 occurence resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@StuartFerguson StuartFerguson merged commit 894b175 into master Sep 22, 2025
13 checks passed
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.

2 participants