repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git]
/
mcs
/
tests
/
test-named-09.cs
blob
a44dca3a1542b03dffc8103fb9242ab5c467d505
1
using
System
.
Collections
.
Generic
;
2
3
class
X
4
{
5
public static int
Main
()
6
{
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
;
14
}
15
}
16
}