// CS3018: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1'
// Line: 12
// Compiler options: -warnaserror -warn:1

using System;
[assembly: CLSCompliant (true)]

[CLSCompliant (false)]
public class C1
{
    [CLSCompliant (true)]
    public interface I2 {}
}