You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: