Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs3018-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aa0af491858452e19a75fbd1c314bb917d9c681b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS3018: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1'
// Line: 10
// Compiler options: -warnaserror -warn:1

using System;
[assembly: CLSCompliant (true)]

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

[CLSCompliant (false)]
public partial class C1
{
}