[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-named-09.cs
bloba44dca3a1542b03dffc8103fb9242ab5c467d505
1 using System.Collections.Generic;
3 class X
5 public static int Main ()
7 switch (nameof (Dictionary<int,int>.Add)) {
8 case nameof (List<int>.Equals):
9 return 1;
10 case nameof(List<int>.Add):
11 return 0;
12 default:
13 return 2;