Imported Upstream version 3.8.0

Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
This commit is contained in:
Jo Shields
2014-09-04 09:07:35 +01:00
parent a575963da9
commit fe777c5c82
1062 changed files with 12460 additions and 5983 deletions

View File

@@ -1,7 +1,7 @@
using System;
//
// Parser conditional and cast expression tests
// parser conditional and cast expression tests
//
class A<T>
@@ -31,6 +31,18 @@ public class ConditionalParsing
struct S
{
}
struct MyTestStruct : IDisposable
{
public void Dispose ()
{
}
public static implicit operator MyTestStruct (int i)
{
return new MyTestStruct ();
}
}
void Test_1 (bool a)
{
@@ -129,6 +141,15 @@ public class ConditionalParsing
bool? b = Test (1, arg:2);
}
void Test_17 ()
{
{
using (MyTestStruct? mts = (int?) 1)
{
}
}
}
static void Helper<T> (T arg)
{
}