summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1729-6.cs
blob: 0b7d4cc9dbad17292a2d2d4daf7c64e4acd15db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS1729: The type `System.Runtime.CompilerServices.IndexerNameAttribute' does not contain a constructor that takes `4' arguments
// Line: 5

class MainClass {
        [System.Runtime.CompilerServices.IndexerName("A", "", "", "")]
        int this [int index] {
                get {
                        return 0;
                }
        }
    
}