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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs0023-11.cs
blob
9f3d806a4fd29ee3f4733d7b2d19407d0344e591
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
}