Class NativeAotToolchain
- Namespace
- BenchmarkDotNet.Toolchains.NativeAot
- Assembly
- BenchmarkDotNet.dll
public class NativeAotToolchain : Toolchain, IToolchain
- Inheritance
-
NativeAotToolchain
- Implements
- Inherited Members
Fields
Net60
compiled as net6.0, targets experimental 6.0.0-* NativeAOT build from the https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json
public static readonly IToolchain Net60
Field Value
Net70
compiled as net7.0, targets latest NativeAOT build from the NuGet.org feed
public static readonly IToolchain Net70
Field Value
Net80
compiled as net8.0, targets latest NativeAOT build from the NuGet.org feed: "https://api.nuget.org/v3/index.json"
public static readonly IToolchain Net80
Field Value
Net90
compiled as net9.0, targets latest NativeAOT build from the .NET 9 feed: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json
public static readonly IToolchain Net90
Field Value
Methods
CreateBuilder()
public static NativeAotToolchainBuilder CreateBuilder()
Returns
GetExtraArguments(string)
public static string GetExtraArguments(string runtimeIdentifier)
Parameters
runtimeIdentifier
string
Returns
Validate(BenchmarkCase, IResolver)
public override IEnumerable<ValidationError> Validate(BenchmarkCase benchmarkCase, IResolver resolver)
Parameters
benchmarkCase
BenchmarkCaseresolver
IResolver