roslyn-analyzers
roslyn-analyzers copied to clipboard
Avoid string.Join in interpolated string
This code
return $@"{CommandType} Reasons:{string.Join(Environment.NewLine, ReasonList)}";
can be simplified to:
return $@"{CommandType} Reasons:{Environment.NewLine}{ReasonList}}";