summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3010.cs
blob: 6532d467f5d0c07b99638870ea1b01b473bed2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS3010: `I.Error': CLS-compliant interfaces must have only CLS-compliant members
// Line: 13
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant (true)]

public interface I {
        [CLSCompliant (true)]
        void Valid (bool arg);
    
        [CLSCompliant (false)]
        event AssemblyLoadEventHandler Error;
}