[mcs] C#7 type pattern matching
[mono.git] / mcs / tests / gtest-281.cs
1 using System;
2 using System.Collections.Generic;
3
4 public class List {
5         internal void AddRange<T>(ICollection<T> otherList) {
6         }
7 }
8
9 public class Tests
10 {
11         public static void Main ()
12         {
13                 object[] args = new object [0];
14                 List l = new List ();
15                 l.AddRange (args);
16         }
17 }