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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs1503-4.cs
blob
e72574fa77ba7eb29478c60a48f7b565b7205b32
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
}