X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-async-22.cs;h=e715d1a4598cd3d4fe5d26a5e90624e99bd2f113;hb=d42301073e2d8dccc3bd32ce9110eec904c4e710;hp=c9824a794e22d1c803eadb0028dd5c8a42017053;hpb=17183a6fbf75a5ca960d7541676aea7fd7b09d21;p=mono.git diff --git a/mcs/tests/test-async-22.cs b/mcs/tests/test-async-22.cs index c9824a794e2..e715d1a4598 100644 --- a/mcs/tests/test-async-22.cs +++ b/mcs/tests/test-async-22.cs @@ -165,4 +165,22 @@ namespace AwaitNS }; } } + + class MemberAccess + { + static void M () + { + var await = new string[0]; + var l = await.Length; + } + } + + class TypeChecks + { + static void M (object await) + { + var b = await is Exception; + var c = await as Exception; + } + } }