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

cs0111-9.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4c97b42fe8256ff83e44563e50b6f26945224947 (plain)
1
2
3
4
5
6
7
8
// cs0111.cs: Class 'C' already defines a member called 'this' with the same parameter types
// Line: 6

class C
{
    bool this [int i] { get { return false; } }
    bool this [int i] { get { return true; } }
}