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
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
errors
/
cs0029-40.cs
blob
6d9167c31faaa96ee08fbd849d99dc48b3ad3e89
1
// CS0029: Cannot implicitly convert type `S' to `System.ValueType'
2
// Line: 16
3
// Compiler options: -langversion:latest
4
5
using
System
;
6
7
public ref struct
S
8
{
9
}
10
11
class
Test
12
{
13
public static void
Main
()
14
{
15
var
s
=
default
(
S
);
16
ValueType s2
=
s
;
17
var
res
=
default
(
S
).
ToString
();
18
}
19
}