projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git]
/
mcs
/
errors
/
cs0023-11.cs
1
// cs0023: The `-' operator cannot be applied to operand of type `A'
\r
2
// Line: 16
\r
3
\r
4
\r
5
class A
\r
6
{
\r
7
public static implicit operator ulong (A mask)
\r
8
{
\r
9
return 8;
\r
10
}
\r
11
}
\r
12
\r
13
class X
\r
14
{
\r
15
static A a = null;
\r
16
static object o = -a;
\r
17
}
\r