projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow passing null to JsonArray.Add()
[mono.git]
/
mcs
/
tests
/
test-async-92.cs
1
using System.Threading.Tasks;
2
3
public class A
4
{
5
public async Task<ValueType> Test1 (int input2)
6
{
7
return new ValueType (await Task.FromResult (12345));
8
}
9
10
public static void Main ()
11
{
12
var a = new A ();
13
a.Test1 (1).Wait ();
14
}
15
}
16
17
public struct ValueType
18
{
19
public ValueType (int field2)
20
{
21
}
22
}