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

gtest-293.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b0d9fd5b1538a44ad47f910f4fe50cda4f9b83f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;

public class Test<T>
{
	public void Invalid (T item)
	{
		Other (new T[] {item});
	}

	public void Other (IEnumerable<T> collection)
	{
	}
}

class X
{
	public static void Main ()
	{ }
}