summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0111-21.cs
blob: edaec4b5fdbc08979d2fdaab619383db4772371e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0111: A member `Dictionary<K,V>.Add(V)' is already defined. Rename this member or use different 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 ();
	}
}