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-nameof-01.cs
blob
019d0770181d9d70e3ee33d26d7d3381a16063da
1
class
X
2
{
3
public static int
Main
()
4
{
5
const string
s
=
nameof
(
X
);
6
System
.
Console
.
WriteLine
(
s
);
7
if
(
s
!=
"X"
)
8
return
1
;
9
10
return
0
;
11
}
12
}