summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-9.cs
blob: 1afa3df4aab5198856a1e42d76a1029b2edf16f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS0019: Operator `&' cannot be applied to operands of type `System.Reflection.MethodImplAttributes' and `System.Runtime.CompilerServices.MethodImplOptions'
// Line : 13

//
// From bug #59864 
//
using System.Reflection;
using System.Runtime.CompilerServices;

public class Foo {

	public static void Main ()
	{
		MethodImplAttributes methodImplAttributes = 0;
            
                if ((methodImplAttributes & MethodImplOptions.Synchronized) == 0) {
                }
	}
}