projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5010 from Unity-Technologies/boehm-gc-alloc-fixed-sre
[mono.git]
/
mcs
/
errors
/
cs1503-4.cs
1
// CS1503: Argument `#1' cannot convert `out A' expression to type `out B'
2
// Line: 17
3
4
class A { }
5
class B : A { }
6
7
class Test
8
{
9
static void Foo (out B b)
10
{
11
b = new B ();
12
}
13
14
static void Main ()
15
{
16
A a;
17
Foo (out a);
18
}
19
}