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
avoid using a custom sources file for the net_2_1_raw profile
[mcs.git]
/
errors
/
gcs0266.cs
blob
37f5cddc364b3dd3cd4b0aa1b254135ad5222387
1
// CS0266: Cannot implicitly convert type `I' to `C'. An explicit conversion exists (are you missing a cast?)
2
// Line: 16
3
4
interface
I
5
{
6
}
7
8
struct
C
:
I
9
{
10
}
11
12
class
X
13
{
14
static void
Main
(
string
[]
args
)
15
{
16
C c
=
default
(
I
);
17
}
18
}