summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3008-2.cs
blob: 90e8638e3f02ac7d67140f2ceef6bfa740e38bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS3008: Identifier `CLSClass._myEvent' is not CLS-compliant
// Line: 11
// Compiler options: -warnaserror -warn:1

using System;
[assembly: CLSCompliant(true)]

public delegate void MyDelegate();

public class CLSClass {
        public event MyDelegate _myEvent;
}