summaryrefslogtreecommitdiff
path: root/mcs/errors/cs3001-4.cs
blob: 2652fb8647d0301551eeba015ed66489bd5ebf29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS3001: Argument type `IError' is not CLS-compliant
// Line: 13
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

[CLSCompliant(false)]
public interface IError{
}

public interface I {
        void Error(out IError arg);
}

public class c {
        public void Error (out IError arg) { arg = null; }
}