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
* MSBuild.cs (Execute): Don't share target output items,
[mcs.git]
/
errors
/
cs1503-4.cs
blob
2215b255fa77aec014f40396ba29057eef6fe9aa
1
// CS1503: Argument `#1' cannot convert `A' expression to type `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
}