| layout | page |
|---|---|
| title | CC0038 |
| tagline | ConvertToExpressionBodiedMemberAnalyzer |
|TypeName|ConvertToExpressionBodiedMemberAnalyzer | |Check Id | CC0038 | |Category | Style | |Severity | Hidden |
Usage of an expression-bodied members improve readability of the code.
{% highlight csharp %} public override string ToString() { return this.Name; } {% endhighlight %}
A code fix will be presented to you that will transform the code, it will convert the method or property into an expression-bodied function.
{% highlight csharp %} public override string ToString() => this.Name; {% endhighlight %}

TBD
TBD