We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TUnit.Core/Services/TestNameFormatter.cs:53:
TUnit.Core/Services/TestNameFormatter.cs:53
bool b => b.ToString().ToLowerInvariant(),
bool.ToString() allocates "True"/"False", then ToLowerInvariant() allocates again. Replace with the interned literals:
bool.ToString()
"True"
"False"
ToLowerInvariant()
bool b => b ? "true" : "false",
Why hot: Every bool argument in every display-name format. TFM: No gating.
TUnit.Core/Services/TestNameFormatter.cs:53:bool.ToString()allocates"True"/"False", thenToLowerInvariant()allocates again. Replace with the interned literals:Why hot: Every bool argument in every display-name format.
TFM: No gating.