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()
9191 // Disabled by default in netcoreapp2.X, check if it's enabled.
9292 ? Environment . GetEnvironmentVariable ( "COMPlus_TieredCompilation" ) == "1"
9393 || 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 )
9595 // Enabled by default in netcoreapp3.0+, check if it's disabled.
9696 : Environment . GetEnvironmentVariable ( "COMPlus_TieredCompilation" ) != "0"
9797 && Environment . GetEnvironmentVariable ( "DOTNET_TieredCompilation" ) != "0"
You can’t perform that action at this time.
0 commit comments