class Utils
{
string GetTypeName(object value)
{
return $@"
{value.GetType().Name} text text text text text text text text text text text text";
}
}
Output:
class Utils
{
string GetTypeName(object value)
{
return $@"
{value .GetType() .Name} text text text text text text text text text text text text";
}
}
Expected behavior:
CSharpier shouldn't add a space after value and GetType().
To replicate, paste the input code into https://playground.csharpier.com/ and leave options to default (print width = 100).
The output is correct when removing one "text" from the string.
Input:
Output:
Expected behavior:
CSharpier shouldn't add a space after
value
andGetType()
. To replicate, paste the input code into https://playground.csharpier.com/ and leave options to default (print width = 100). The output is correct when removing one "text" from the string.