forked from dotnet/BenchmarkDotNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRuntimeMoniker.cs
More file actions
188 lines (152 loc) · 3.93 KB
/
Copy pathRuntimeMoniker.cs
File metadata and controls
188 lines (152 loc) · 3.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
using System;
namespace BenchmarkDotNet.Jobs
{
public enum RuntimeMoniker
{
/// <summary>
/// the same Runtime as the host Process (default setting)
/// </summary>
HostProcess = 0,
/// <summary>
/// not recognized, possibly a new version of .NET Core
/// </summary>
NotRecognized,
/// <summary>
/// Mono
/// </summary>
Mono,
/// <summary>
/// .NET 4.6.1
/// </summary>
Net461,
/// <summary>
/// .NET 4.6.2
/// </summary>
Net462,
/// <summary>
/// .NET 4.7
/// </summary>
Net47,
/// <summary>
/// .NET 4.7.1
/// </summary>
Net471,
/// <summary>
/// .NET 4.7.2
/// </summary>
Net472,
/// <summary>
/// .NET 4.8
/// </summary>
Net48,
/// <summary>
/// .NET 4.8.1
/// </summary>
Net481,
/// <summary>
/// .NET Core 2.0
/// </summary>
NetCoreApp20,
/// <summary>
/// .NET Core 2.1
/// </summary>
NetCoreApp21,
/// <summary>
/// .NET Core 2.2
/// </summary>
NetCoreApp22,
/// <summary>
/// .NET Core 3.0
/// </summary>
NetCoreApp30,
/// <summary>
/// .NET Core 3.1
/// </summary>
NetCoreApp31,
/// <summary>
/// .NET Core 5.0 aka ".NET 5"
/// </summary>
[Obsolete("Please switch to the 'RuntimeMoniker.Net50'")]
NetCoreApp50,
/// <summary>
/// .NET 5.0
/// </summary>
Net50, // it's after NetCoreApp50 in the enum definition because the value of enumeration is used for framework version comparison using > < operators
/// <summary>
/// .NET 6.0
/// </summary>
Net60,
/// <summary>
/// .NET 7.0
/// </summary>
Net70,
/// <summary>
/// .NET 8.0
/// </summary>
Net80,
/// <summary>
/// NativeAOT compiled as net6.0
/// </summary>
NativeAot60,
/// <summary>
/// NativeAOT compiled as net7.0
/// </summary>
NativeAot70,
/// <summary>
/// NativeAOT compiled as net8.0
/// </summary>
NativeAot80,
/// <summary>
/// WebAssembly with default .Net version
/// </summary>
Wasm,
/// <summary>
/// WebAssembly with net5.0
/// </summary>
WasmNet50,
/// <summary>
/// WebAssembly with net6.0
/// </summary>
WasmNet60,
/// <summary>
/// WebAssembly with net7.0
/// </summary>
WasmNet70,
/// <summary>
/// WebAssembly with net8.0
/// </summary>
WasmNet80,
/// <summary>
/// WebAssembly with net9.0
/// </summary>
WasmNet90,
/// <summary>
/// Mono with the Ahead of Time LLVM Compiler backend
/// </summary>
MonoAOTLLVM,
/// <summary>
/// Mono with the Ahead of Time LLVM Compiler backend and net6.0
/// </summary>
MonoAOTLLVMNet60,
/// <summary>
/// Mono with the Ahead of Time LLVM Compiler backend and net7.0
/// </summary>
MonoAOTLLVMNet70,
/// <summary>
/// Mono with the Ahead of Time LLVM Compiler backend and net8.0
/// </summary>
MonoAOTLLVMNet80,
/// <summary>
/// .NET 6 using MonoVM (not CLR which is the default)
/// </summary>
Mono60,
/// <summary>
/// .NET 7 using MonoVM (not CLR which is the default)
/// </summary>
Mono70,
/// <summary>
/// .NET 8 using MonoVM (not CLR which is the default)
/// </summary>
Mono80,
}
}