Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / errors / cs0019-9.cs
blob1afa3df4aab5198856a1e42d76a1029b2edf16f2
1 // CS0019: Operator `&' cannot be applied to operands of type `System.Reflection.MethodImplAttributes' and `System.Runtime.CompilerServices.MethodImplOptions'
2 // Line : 13
4 //
5 // From bug #59864
6 //
7 using System.Reflection;
8 using System.Runtime.CompilerServices;
10 public class Foo {
12 public static void Main ()
14 MethodImplAttributes methodImplAttributes = 0;
16 if ((methodImplAttributes & MethodImplOptions.Synchronized) == 0) {