Table of Contents

Class RoslynToolchain

Namespace
BenchmarkDotNet.Toolchains.Roslyn
Assembly
BenchmarkDotNet.dll

Build a benchmark program with the Roslyn compiler.

public class RoslynToolchain : Toolchain, IToolchain
Inheritance
RoslynToolchain
Implements
Inherited Members

Constructors

RoslynToolchain()

public RoslynToolchain()

Fields

Instance

public static readonly IToolchain Instance

Field Value

IToolchain
Build a benchmark program with the Roslyn compiler.

Methods

Validate(BenchmarkCase, IResolver)

public override IEnumerable<ValidationError> Validate(BenchmarkCase benchmarkCase, IResolver resolver)

Parameters

benchmarkCase BenchmarkCase
Build a benchmark program with the Roslyn compiler.
resolver IResolver
Build a benchmark program with the Roslyn compiler.

Returns

IEnumerable<ValidationError>
Build a benchmark program with the Roslyn compiler.