projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git]
/
mcs
/
errors
/
cs0126-3.cs
1
// CS0126: An object of a type convertible to `int' is required for the return statement
2
// Line: 15
3
4
using System.Threading.Tasks;
5
6
class MainClass
7
{
8
public static void Main ()
9
{
10
Task<C> v = null;
11
12
Task.Run (async () => {
13
await Task.Yield ();
14
if (v == null) {
15
return;
16
}
17
18
return 1;
19
});
20
}
21
}
22
23
public class C
24
{
25
string Id { get; set; }
26
}