**** Merged from MCS ****
[mono-project.git] / mcs / errors / gcs0111.cs
blob4d69f75877cb90e515f44f7e0fbe2a623b64a0a8
1 // CS0111: Class `Dictionary`2' already defines a member called `Add' with the same parameter types
2 // Line: 14
3 using System;
4 using System.Collections.Generic;
6 public class Dictionary<K,V>
8 public void Add (V key)
10 throw new InvalidOperationException ();
13 public void Add (V value)
15 throw new InvalidOperationException ();