Skip to content

Commit 25cab84

Browse files
committed
Fix IL emit diff tests.
1 parent 68c5436 commit 25cab84

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/BenchmarkDotNet.IntegrationTests/InProcess.EmitTests/NaiveRunnableEmitDiff.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ public class NaiveRunnableEmitDiff
1313
private static readonly HashSet<string> IgnoredTypeNames = new HashSet<string>()
1414
{
1515
"BenchmarkDotNet.Autogenerated.UniqueProgramName",
16-
"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)
17+
"BenchmarkDotNet.Autogenerated.DirtyAssemblyResolveHelper",
18+
// Polyfill types added for older runtimes.
19+
"System.Diagnostics.CodeAnalysis.SetsRequiredMembersAttribute",
20+
"System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes",
21+
"System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute",
1822
};
1923

2024
private static readonly HashSet<string> IgnoredAttributeTypeNames = new HashSet<string>()

0 commit comments

Comments
 (0)