projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
test-nameof-03.cs
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
}