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
bring XslCompiledTransform to MonoTouch
[mcs.git]
/
errors
/
cs0457.cs
blob
3b7ebc603d194224b0402552ac63796b56c6fb32
1
// cs0457: Ambiguous user defined conversions `A.implicit operator byte(A)' and `A.implicit operator sbyte(A)' when converting from 'A' to 'int'
2
// Line: 20
3
4
class
A
5
{
6
public static implicit operator sbyte
(
A mask
)
7
{
8
return
1
;
9
}
10
11
public static implicit operator byte
(
A mask
)
12
{
13
return
2
;
14
}
15
}
16
17
class
X
18
{
19
static
A a
=
null
;
20
static object
o
=
~a
;
21
}