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

cs1667-4.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6729d9aafa1d4731d6130eb02dfcacda35ad8b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs1667.cs: 'System.CLSCompliant' is not valid on property or event accessors. It is valid on 'assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, param, delegate, return, type parameter' declarations only.
// Line: 10

using System;
using System.Diagnostics;

class Class1 
{
        public event ResolveEventHandler G {
            [CLSCompliant(false)]
            add {}
            remove {}
	}
}