You've already forked linux-packaging-mono
Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user