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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs0458-5.cs
blob
9f2251d35f0824d2300de1784812262392cef1c7
1
// CS0458: The result of the expression is always `null' of type `E?'
2
// Line: 15
3
// Compiler options: -warnaserror -warn:2
4
5
enum
E
6
{
7
V
8
}
9
10
public class
C
11
{
12
public static void
Main
()
13
{
14
E e
=
E
.
V
;
15
object
o
=
e
+
null
;
16
}
17
}