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
2009-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0019-26.cs
blob
dec3689cfed3b08b8c1064b8d7be3b3cd5ae1966
1
// CS0019: Operator `&' cannot be applied to operands of type `C.Flags' and `int'
2
// Line: 16
3
4
using
System
;
5
6
class
C
7
{
8
enum
Flags
{
9
Removed
=
0
10
}
11
12
public int
_enumFlags
;
13
14
internal void
Close
()
15
{
16
if
((
Flags
.
Removed
&
_enumFlags
) ==
Flags
.
Removed
)
17
Console
.
WriteLine
(
"error"
);
18
}
19
}