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 9c32a87 commit ad8e9b2Copy full SHA for ad8e9b2
src/BenchmarkDotNet/Portability/RuntimeInformation.cs
@@ -163,7 +163,7 @@ internal static CpuInfo GetCpuInfo()
163
164
internal static string GetRuntimeVersion()
165
{
166
- if (IsMono)
+ if (IsMono && !IsWasm)
167
168
var monoRuntimeType = Type.GetType("Mono.Runtime");
169
var monoDisplayName = monoRuntimeType?.GetMethod("GetDisplayName", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static);
0 commit comments