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
Net462
public static readonly ClrRuntime Net462
Field Value
Net47
public static readonly ClrRuntime Net47
Field Value
Net471
public static readonly ClrRuntime Net471
Field Value
Net472
public static readonly ClrRuntime Net472
Field Value
Net48
public static readonly ClrRuntime Net48
Field Value
Net481
public static readonly ClrRuntime Net481
Field Value
Properties
Version
public string Version { get; }
Property Value
Methods
CreateForLocalFullNetFrameworkBuild(string)
public static ClrRuntime CreateForLocalFullNetFrameworkBuild(string version)
Parameters
version
stringYOU 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)
public bool Equals(ClrRuntime other)
Parameters
other
ClrRuntime
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()