Table of Contents

Class ClrRuntime

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

Fields

Net461

public static readonly ClrRuntime Net461

Field Value

ClrRuntime

Net462

public static readonly ClrRuntime Net462

Field Value

ClrRuntime

Net47

public static readonly ClrRuntime Net47

Field Value

ClrRuntime

Net471

public static readonly ClrRuntime Net471

Field Value

ClrRuntime

Net472

public static readonly ClrRuntime Net472

Field Value

ClrRuntime

Net48

public static readonly ClrRuntime Net48

Field Value

ClrRuntime

Net481

public static readonly ClrRuntime Net481

Field Value

ClrRuntime

Properties

Version

public string Version { get; }

Property Value

string

Methods

CreateForLocalFullNetFrameworkBuild(string)

public static ClrRuntime CreateForLocalFullNetFrameworkBuild(string version)

Parameters

version string

YOU PROBABLY DON'T NEED IT, but if you are a .NET Runtime developer.. please set it to particular .NET Runtime version if you want to benchmark it. BenchmarkDotNet in going to pass COMPLUS_Version env var to the process for you.

Returns

ClrRuntime

Equals(ClrRuntime)

public bool Equals(ClrRuntime other)

Parameters

other ClrRuntime

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int