Skip to content

Commit 021fc69

Browse files
authored
Missing dotnet 9.0 support. (#2703)
* Missing dotnet 9.0 support. Added support for `RuntimeMoniker.NativeAot90` in the `RuntimeMonikerExtensions.cs` file, which returns `NativeAotRuntime.Net90`. * Added support for `RuntimeMoniker.Mono90` in the `RuntimeMonikerExtensions.cs` file, which returns `MonoRuntime.Mono90`.
1 parent e7e758d commit 021fc69

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/BenchmarkDotNet/Extensions/RuntimeMonikerExtensions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ internal static Runtime GetRuntime(this RuntimeMoniker runtimeMoniker)
5757
return NativeAotRuntime.Net70;
5858
case RuntimeMoniker.NativeAot80:
5959
return NativeAotRuntime.Net80;
60+
case RuntimeMoniker.NativeAot90:
61+
return NativeAotRuntime.Net90;
6062
case RuntimeMoniker.NativeAot10_0:
6163
return NativeAotRuntime.Net10_0;
6264
case RuntimeMoniker.Mono60:
@@ -65,6 +67,8 @@ internal static Runtime GetRuntime(this RuntimeMoniker runtimeMoniker)
6567
return MonoRuntime.Mono70;
6668
case RuntimeMoniker.Mono80:
6769
return MonoRuntime.Mono80;
70+
case RuntimeMoniker.Mono90:
71+
return MonoRuntime.Mono90;
6872
case RuntimeMoniker.Mono10_0:
6973
return MonoRuntime.Mono10_0;
7074
default:

0 commit comments

Comments
 (0)