This pull request introduces a new Roslyn analyzer and code fix to enforce the use of interpolated strings instead of string.Format. This change addresses the recommendations outlined in Effective C#: 50 Specific Ways to Improve your C#.
Rule Details
Rule ID: ECS0004
Title: Replace string.Format with interpolated string
Category: Style
Description: This rule identifies instances of string.Format and suggests replacing them with C# interpolated strings for improved readability and reduced error potential.
This pull request introduces a new Roslyn analyzer and code fix to enforce the use of interpolated strings instead of
string.Format
. This change addresses the recommendations outlined in Effective C#: 50 Specific Ways to Improve your C#.Rule Details
Rule ID: ECS0004
Title: Replace string.Format with interpolated string
Category: Style
Description: This rule identifies instances of
string.Format
and suggests replacing them with C# interpolated strings for improved readability and reduced error potential.