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

cs3002.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b812e6198f8bb19410d3854836e3be104595a256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
// Line: 13
// Compiler options: -warnaserror -warn:1

using System;
[assembly:CLSCompliant(true)]

public class CLSClass {
        private ulong Valid() {
                return 1;
        }
    
        protected ulong Foo() {
                return 1;
        }
}