[w32file] Remove dead code
[mono.git] / mcs / errors / cs8200-3.cs
1 // CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
2 // Line: 11
3
4 public class C
5 {
6         bool Prop { get; } = Foo (out int arg);
7
8         static bool Foo (out int arg)
9         {
10                 arg = 2;
11                 return false;
12         }
13 }