[mcs] C#7 out variable declaration
[mono.git] / mcs / errors / cs0019-9.cs
1 // CS0019: Operator `&' cannot be applied to operands of type `System.Reflection.MethodImplAttributes' and `System.Runtime.CompilerServices.MethodImplOptions'
2 // Line : 13
3
4 //
5 // From bug #59864 
6 //
7 using System.Reflection;
8 using System.Runtime.CompilerServices;
9
10 public class Foo {
11
12         public static void Main ()
13         {
14                 MethodImplAttributes methodImplAttributes = 0;
15             
16                 if ((methodImplAttributes & MethodImplOptions.Synchronized) == 0) {
17                 }
18         }
19 }