-
Notifications
You must be signed in to change notification settings - Fork 1.6k
refactor(csharp): replace escaped quotes in interpolated strings with raw string literals for clarity #527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(csharp): replace escaped quotes in interpolated strings with raw string literals for clarity #527
Conversation
… raw string literals for clarity
There was a problem hiding this 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 refactors C# code to replace escaped quotes in interpolated strings with raw string literals for improved readability. The changes focus on exception messages in tree data structure implementations.
- Replace escaped quotes (
\"
) with raw string literals ("""..."""
) in exception messages - Simplify string formatting by removing unnecessary escape sequences
- Improve code readability across multiple tree data structure classes
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
File | Description |
---|---|
DataStructures/RedBlackTree/RedBlackTree.cs | Updated exception message to use raw string literal |
DataStructures/BinarySearchTree/BinarySearchTree.cs | Updated exception message to use raw string literal |
DataStructures/AVLTree/AVLTree.cs | Updated two exception messages to use raw string literals |
DataStructures/AATree/AATree.cs | Updated exception message to use raw string literal |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #527 +/- ##
==========================================
+ Coverage 95.15% 95.19% +0.03%
==========================================
Files 272 272
Lines 10921 10920 -1
Branches 1536 1536
==========================================
+ Hits 10392 10395 +3
+ Misses 402 400 -2
+ Partials 127 125 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Description
This PR contains the following points:
Issue link: #520