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
/
cs0458-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
}