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 #1948 from akoeplinger/fix-httplistener-test-race
[mono.git]
/
mcs
/
tests
/
test-async-22.cs
diff --git
a/mcs/tests/test-async-22.cs
b/mcs/tests/test-async-22.cs
index ca6e1faf90c65423529f93a7fb11be1d694ed35c..e715d1a4598cd3d4fe5d26a5e90624e99bd2f113 100644
(file)
--- a/
mcs/tests/test-async-22.cs
+++ b/
mcs/tests/test-async-22.cs
@@
-174,4
+174,13
@@
namespace AwaitNS
var l = await.Length;
}
}
+
+ class TypeChecks
+ {
+ static void M (object await)
+ {
+ var b = await is Exception;
+ var c = await as Exception;
+ }
+ }
}