Command
-x64 -arm64 -profiler
```cs
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
public class Bench
{
struct S;
[Benchmark]
public Type Nested() => typeof(S).DeclaringType;
[Benchmark]
public Type NotNested() => typeof(Bench).DeclaringType;
[Benchmark]
public Type RefElementType() => typeof(Bench[]).GetElementType();
[Benchmark]
public Type ValueElementType() => typeof(S[]).GetElementType();
}
```
Processing https://github.com/dotnet/runtime/pull/109996#issuecomment-2487285911 command:
Command
-x64 -arm64 -profiler ```cs using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; public class Bench { struct S; [Benchmark] public Type Nested() => typeof(S).DeclaringType; [Benchmark] public Type NotNested() => typeof(Bench).DeclaringType; [Benchmark] public Type RefElementType() => typeof(Bench[]).GetElementType(); [Benchmark] public Type ValueElementType() => typeof(S[]).GetElementType(); } ```(EgorBot will reply in this issue)