Assert (null, c2 (new MyType (1), null));
}
- // CSC BUG: Fixed?
void OrNullableTest_3 ()
{
Expression<Func<MyType?, uint, long?>> e3 = (MyType? a, uint b) => a | b;
Expression<Func<string, Expression<Func<string>>>> e = (string s) => () => s;
AssertNodeType (e, ExpressionType.Quote);
- // Blocked by https://bugzilla.novell.com/show_bug.cgi?id=550722
- //Assert ("data", e.Compile ().Invoke ("data").Compile ().Invoke ());
+ Assert ("data", e.Compile ().Invoke ("data").Compile ().Invoke ());
}
void RightShiftTest ()
--- /dev/null
+public class Tests
+{
+ public static void foo (Foo f = Foo.None)
+ {
+ }
+
+ public static int Main ()
+ {
+ foo ();
+ return 0;
+ }
+}
+
+public enum Foo
+{
+ None = 0
+}
\ No newline at end of file
<size>152</size>
</method>
<method name="Void QuoteTest_2()">
- <size>63</size>
+ <size>99</size>
</method>
</type>
<type name="Tester+<MemberAccessTest>c__AnonStorey1">
</method>
</type>
</test>
+ <test name="gtest-optional-07.cs">
+ <type name="Tests">
+ <method name="Void foo(Foo)">
+ <size>1</size>
+ </method>
+ <method name="Int32 Main()">
+ <size>8</size>
+ </method>
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ </test>
<test name="gtest-partial-01.cs">
<type name="B`1[U]">
<method name="Void .ctor()">