File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/BenchmarkDotNet/Portability Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ private static bool IsAotMethod()
91
91
// Disabled by default in netcoreapp2.X, check if it's enabled.
92
92
? Environment . GetEnvironmentVariable ( "COMPlus_TieredCompilation" ) == "1"
93
93
|| Environment . GetEnvironmentVariable ( "DOTNET_TieredCompilation" ) == "1"
94
- || ( AppContext . TryGetSwitch ( "System.Runtime.TieredCompilation" , out bool isEnabled ) && isEnabled )
94
+ || ( AppContext . TryGetSwitch ( "System.Runtime.TieredCompilation" , out bool isEnabled ) && ! isEnabled )
95
95
// Enabled by default in netcoreapp3.0+, check if it's disabled.
96
96
: Environment . GetEnvironmentVariable ( "COMPlus_TieredCompilation" ) != "0"
97
97
&& Environment . GetEnvironmentVariable ( "DOTNET_TieredCompilation" ) != "0"
You can’t perform that action at this time.
0 commit comments