projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2646 from ludovic-henry/fix-processwatch-dispose
[mono.git]
/
mcs
/
errors
/
cs0266-19.cs
1
// CS0266: Cannot implicitly convert type `A' to `B'. An explicit conversion exists (are you missing a cast?)
2
// Line: 17
3
4
class A
5
{
6
public static A operator -- (A x)
7
{
8
return new A ();
9
}
10
}
11
12
class B : A
13
{
14
static void Main ()
15
{
16
B b = new B ();
17
--b;
18
}
19
}