11 lines
307 B
C#
Raw Normal View History

// CS3018: `C.Error(bool)' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C'
// Line: 10
// Compiler options: -warnaserror -warn:1
using System;
[assembly:CLSCompliant (false)]
public class C {
[CLSCompliant (true)]
protected void Error (bool arg) {}
}