projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #901 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git]
/
mcs
/
tests
/
test-async-13.cs
diff --git
a/mcs/tests/test-async-13.cs
b/mcs/tests/test-async-13.cs
index ea7fd528df15dfb3db2fb69a6ec14748ea40bda7..9f8cccac0700e535ade3411b92766ae7c006c939 100644
(file)
--- a/
mcs/tests/test-async-13.cs
+++ b/
mcs/tests/test-async-13.cs
@@
-678,6
+678,12
@@
class Tester : Base
return a.Length == 13;
}
return a.Length == 13;
}
+ async Task<bool> NewArrayInitTest_7 ()
+ {
+ var res = new [] { "a", new [] { "1", await Task.FromResult ("2") } [1], "b" };
+ return res [1] == "2";
+ }
+
async Task<bool> PropertyTest_1 ()
{
PropertyInt = await Task.Factory.StartNew (() => 6);
async Task<bool> PropertyTest_1 ()
{
PropertyInt = await Task.Factory.StartNew (() => 6);