diff --git a/src/BenchmarkDotNet.Core/Portability/RuntimeInformation.cs b/src/BenchmarkDotNet.Core/Portability/RuntimeInformation.cs index 6ed819368..1f179c647 100644 --- a/src/BenchmarkDotNet.Core/Portability/RuntimeInformation.cs +++ b/src/BenchmarkDotNet.Core/Portability/RuntimeInformation.cs @@ -19,7 +19,7 @@ using System.Management; namespace BenchmarkDotNet.Portability { - public class RuntimeInformation + internal static class RuntimeInformation { private static readonly bool isMono = Type.GetType("Mono.Runtime") != null; // it allocates a lot of memory, we need to check it once in order to keep Enging non-allocating!