You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
global::BenchmarkDotNet.Engines.IHost host; // this variable name is used by CodeGenerator.GetCoreRtSwitch, do NOT change it
102
+
global::BenchmarkDotNet.Engines.IHost host;
42
103
if (global::BenchmarkDotNet.Engines.AnonymousPipesHost.TryGetFileHandles(args, out global::System.String writeHandle, out global::System.String readHandle))
43
104
host = new global::BenchmarkDotNet.Engines.AnonymousPipesHost(writeHandle, readHandle);
: 0; // used when re-using generated exe without BDN (typically to repro a bug)
63
123
64
124
if (args.Length == 0)
65
125
{
66
126
host.WriteLine("You have not specified benchmark id (an integer) so the first benchmark will be executed.");
67
127
}
68
-
#if NATIVEAOT
69
-
$NativeAotSwitch$
70
-
#else
71
128
global::System.Type type = typeof(global::BenchmarkDotNet.Autogenerated.UniqueProgramName).Assembly.GetType($"BenchmarkDotNet.Autogenerated.Runnable_{id}");
catch (global::System.Exception oom) when (oom is global::System.OutOfMemoryException || oom is global::System.Reflection.TargetInvocationException reflection && reflection.InnerException is global::System.OutOfMemoryException)
"BenchmarkDotNet.Autogenerated.DirtyAssemblyResolveHelper",// not required to be used in the InProcess toolchains (it's already used in the host process)
17
-
"System.Diagnostics.CodeAnalysis.SetsRequiredMembersAttribute",// Conditionally added in runtimes older than .Net 7.
16
+
// not required to be used in the InProcess toolchains (it's already used in the host process)
0 commit comments