Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs3018-5.cs
1 // CS3018: `C.field' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C'
2 // Line: 10
3 // Compiler options: -warnaserror -warn:1
4
5 using System;
6 [assembly:CLSCompliant (false)]
7
8 public class C {
9         [CLSCompliant (true)]
10         public long field;
11 }