-// cs8200.cs: Do not allow type-parameter-constraint-clauses when
-// there is no type-parameter list
-//
-using System.Collections;
-class Dingus where T : IEnumerable {
-}
+// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
+// Line: 11
-class D {
- static void Main ()
+public class C
+{
+ public C (bool value)
+ {
+ }
+
+ public C ()
+ : this (Foo (out int arg))
+ {
+ }
+
+ static bool Foo (out int arg)
{
+ arg = 2;
+ return false;
}
-}
+}
\ No newline at end of file