Merge pull request #4998 from kumpera/fix_56684
[mono.git] / mcs / tests / gtest-exmethod-20.cs
1 using System;
2 using System.Collections.Generic;
3
4 interface I
5 {
6 }
7
8 namespace Outer.Inner
9 {
10         class Test {
11                 static void M (I list)
12                 {
13                         list.AddRange(new Test[0]);
14                 }
15                 
16                 public static void Main()
17                 {
18                 }
19         }
20 }
21
22 namespace Outer {
23         static class ExtensionMethods {
24                 public static void AddRange<T>(this I list, IEnumerable<T> items)
25                 {
26                 }
27         }
28 }