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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
test-nameof-03.cs
blob
468216f558a27cd8daaf1094fc3ab54dd5c1a9ba
1
using static
T2
;
2
3
static class
T2
4
{
5
public static int
nameof
(
string
s
)
6
{
7
return
2
;
8
}
9
}
10
11
class
X
12
{
13
public static int
Main
()
14
{
15
string
s
=
""
;
16
var
v
=
nameof
(
s
);
17
if
(
v
!=
2
)
18
return
1
;
19
20
return
0
;
21
}
22
}