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

gcs0111.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4d69f75877cb90e515f44f7e0fbe2a623b64a0a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0111: Class `Dictionary`2' already defines a member called `Add' with the same parameter types
// Line: 14
using System;
using System.Collections.Generic;

public class Dictionary<K,V>
{
	public void Add (V key)
	{
		throw new InvalidOperationException ();
	}

	public void Add (V value)
	{
		throw new InvalidOperationException ();
	}
}