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
[ci] Only build the additional profiles on one arch instead of everywhere
[mono-project.git]
/
mcs
/
errors
/
cs0458-7.cs
blob
0935e36c2c7e07bce4c0edb93796f14a4adc4e39
1
// CS0472: The result of the expression is always `null' of type `MyEnum?'
2
// Line: 17
3
// Compiler options: -warnaserror -warn:2
4
5
using
System
;
6
7
enum
MyEnum
8
{
9
Value_1
10
}
11
12
class
C
13
{
14
public static void
Main
()
15
{
16
var
d
=
MyEnum
.
Value_1
;
17
var
x
=
d
&
null
;
18
}
19
}