projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[wasm] Implement GC support. Embedder must provide main loop pumping function request...
[mono.git]
/
mcs
/
errors
/
cs0266-5.cs
1
// CS0266: Cannot implicitly convert type `S?' to `A'. An explicit conversion exists (are you missing a cast?)
2
// Line: 9
3
4
struct S
5
{
6
public static int Main ()
7
{
8
S? s = null;
9
A a = s;
10
return 0;
11
}
12
}
13
14
struct A
15
{
16
public static implicit operator A (S x)
17
{
18
return new A ();
19
}
20
}