Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
why does coreclr have 2 attributes here??
  • Loading branch information
lambdageek authored and github-actions committed Nov 1, 2022
commit f4a58e18e1c2a5bb55a9f4df868ebbd397d20107
3 changes: 3 additions & 0 deletions src/libraries/System.Runtime.Loader/tests/ApplyUpdateTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,9 @@ public static void TestReflectionAddNewMethod()
parmPos++;
}

foreach (var ca in parms[4].GetCustomAttributes(false)) {
Console.WriteLine (" - parm[4] has {0}", ca);
}
Assert.Equal (1, parms[4].GetCustomAttributes(false).Length);
Assert.Equal (typeof (CallerMemberNameAttribute), parms[4].GetCustomAttributes(false)[0].GetType());

Expand Down