Table of Contents

Class CoreRuntime

Namespace
BenchmarkDotNet.Environments
Assembly
BenchmarkDotNet.dll
public class CoreRuntime : Runtime, IEquatable<Runtime>
Inheritance
CoreRuntime
Implements
Inherited Members

Fields

Core20

public static readonly CoreRuntime Core20

Field Value

CoreRuntime

Core21

public static readonly CoreRuntime Core21

Field Value

CoreRuntime

Core22

public static readonly CoreRuntime Core22

Field Value

CoreRuntime

Core30

public static readonly CoreRuntime Core30

Field Value

CoreRuntime

Core31

public static readonly CoreRuntime Core31

Field Value

CoreRuntime

Core50

public static readonly CoreRuntime Core50

Field Value

CoreRuntime

Core60

public static readonly CoreRuntime Core60

Field Value

CoreRuntime

Core70

public static readonly CoreRuntime Core70

Field Value

CoreRuntime

Core80

public static readonly CoreRuntime Core80

Field Value

CoreRuntime

Core90

public static readonly CoreRuntime Core90

Field Value

CoreRuntime

Properties

IsPlatformSpecific

public bool IsPlatformSpecific { get; }

Property Value

bool

Latest

public static CoreRuntime Latest { get; }

Property Value

CoreRuntime

Methods

CreateForNewVersion(string, string)

use this method if you want to target .NET version not supported by current version of BenchmarkDotNet. Example: .NET 10

public static CoreRuntime CreateForNewVersion(string msBuildMoniker, string displayName)

Parameters

msBuildMoniker string

msbuild moniker, example: net10.0

displayName string

display name used by BDN to print the results

Returns

CoreRuntime

new runtime information