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
/
cs0023-11.cs
blob
1a071806ab70a3c2c03312bcd95520ee733ce7c6
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
}