Skip to content

Conversation

@deepsource-autofix
Copy link
Contributor

@deepsource-autofix deepsource-autofix bot commented Sep 18, 2025

This PR replaces all instances of interpolated strings that contain no expressions with plain string literals. By eliminating empty interpolations, we reduce unnecessary allocations and improve code readability.

  • Empty interpolated string: DeepSource identified multiple occurrences of strings wrapped in $"..." without any embedded variables. Such empty interpolations add needless overhead and offer no benefit. All flagged instances (including calls to Console.WriteLine, this.WriteTrace, this.WriteError, and results.Add) have been converted to regular string literals.

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

closes #145

This PR replaces all instances of interpolated strings that contain no expressions with plain string literals. By eliminating empty interpolations, we reduce unnecessary allocations and improve code readability.

- Empty interpolated string: DeepSource identified multiple occurrences of strings wrapped in `$"..."` without any embedded variables. Such empty interpolations add needless overhead and offer no benefit. All flagged instances (including calls to Console.WriteLine, this.WriteTrace, this.WriteError, and results.Add) have been converted to regular string literals.

> This Autofix was generated by AI. Please review the change before merging.
@deepsource-io
Copy link

deepsource-io bot commented Sep 18, 2025

Here's the code health analysis summary for commits a09124e..19032f3. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource C# LogoC#✅ Success
🎯 10 occurences resolved
View Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource SQL LogoSQL✅ SuccessView Check ↗

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

@StuartFerguson StuartFerguson merged commit d68dd14 into master Sep 18, 2025
15 of 16 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.

(CS-W1000) Empty interpolated string

1 participant