Class ClrRuntime
Assembly: BenchmarkDotNet.dll
Syntax
public class ClrRuntime : Runtime, IEquatable<Runtime>, IEquatable<ClrRuntime>
Fields
Net461
Declaration
public static readonly ClrRuntime Net461
Field Value
Net462
Declaration
public static readonly ClrRuntime Net462
Field Value
Net47
Declaration
public static readonly ClrRuntime Net47
Field Value
Net471
Declaration
public static readonly ClrRuntime Net471
Field Value
Net472
Declaration
public static readonly ClrRuntime Net472
Field Value
Net48
Declaration
public static readonly ClrRuntime Net48
Field Value
Net481
Declaration
public static readonly ClrRuntime Net481
Field Value
Properties
Version
Declaration
public string Version { get; }
Property Value
Methods
CreateForLocalFullNetFrameworkBuild(String)
Declaration
public static ClrRuntime CreateForLocalFullNetFrameworkBuild(string version)
Parameters
Type |
Name |
Description |
String |
version |
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
Equals(ClrRuntime)
Declaration
public bool Equals(ClrRuntime other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements