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
Merge pull request #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs8093-2.cs
blob
40597024143e5c6b6d1e63e617b901a97d63185b
1
// CS8093: An argument to nameof operator cannot be extension method group
2
// Line: 21
3
4
public class
A
5
{
6
}
7
8
static class
X
9
{
10
public static string
Extension
(
this int
a
)
11
{
12
return null
;
13
}
14
}
15
16
public static class
Test
17
{
18
public static void
Main
()
19
{
20
A a
=
null
;
21
var
x
=
nameof
(
a
.
Extension
);
22
}
23
}