repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Warnings cleanup
[mcs.git]
/
errors
/
gcs0201-2.cs
blob
48496892c4b885e9d8bfb21caac618bae95b7534
1
// CS0201: Only assignment, call, increment, decrement, 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
}