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.
1 parent cec7f9b commit cbd8535Copy full SHA for cbd8535
2 files changed
build/common.props
@@ -33,7 +33,7 @@
33
</PropertyGroup>
34
35
<PropertyGroup Condition=" '$(IsVisualBasic)' != 'true' AND '$(IsFsharp)' != 'true' ">
36
- <LangVersion>11</LangVersion>
+ <LangVersion>9.0</LangVersion>
37
38
<Major>0</Major>
39
<Minor>13</Minor>
src/BenchmarkDotNet/Code/DeclarationsProvider.cs
@@ -94,10 +94,7 @@ public override string OverheadImplementation
94
{
95
return $"return default({type.GetCorrectCSharpTypeName()});";
96
}
97
- return $"""
98
- System.Runtime.CompilerServices.Unsafe.SkipInit(out {type.GetCorrectCSharpTypeName()} value);
99
- return value;
100
- """;
+ return $"System.Runtime.CompilerServices.Unsafe.SkipInit(out {type.GetCorrectCSharpTypeName()} value);\nreturn value;";
101
102
103
0 commit comments