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
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0201-6.cs
blob
57733dad5730f1838e77129ac8b1fa8fda40bb12
1
// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
2
// Line: 13
3
4
class
C
<
T
>
5
{
6
static
T
Test
()
7
{
8
return default
(
T
);
9
}
10
11
public static void
Main
()
12
{
13
Test
().
Foo
;
14
}
15
}