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-03-15 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0023-11.cs
blob
0328fb9a59cd7f05c51f7c4d8571e63d04cb6cf1
1
// cs0023: The `-' operator cannot be applied to operand of type `A'
2
// Line: 16
3
4
5
class
A
6
{
7
public static implicit operator ulong
(
A mask
)
8
{
9
return
8
;
10
}
11
}
12
13
class
X
14
{
15
static
A a
=
null
;
16
static object
o
= -
a
;
17
}