Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs3018-4.cs
1 // CS3018: `C.Error(bool)' 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         protected void Error (bool arg) {}
11 }