summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3009-3.cs
blob: bbbb8f54bbf9dd3ec7c4a3912a5dee180ddfd7c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// CS3009: `AttributesForm': base type `BaseClass' is not CLS-compliant
// Line: 17
// Compiler options: -warnaserror -warn:1


// The error is reported intentionally twice.

using System;

[assembly:CLSCompliant(true)]

[CLSCompliant(false)]
public class BaseClass
{
}

public class AttributesForm : BaseClass
{
}

public class AttributesForm_2 : BaseClass
{
}