blob: 57b73a40e39fb850389c35d85291191bea989a8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// CS0121: The call is ambiguous between the following methods or properties: `G<int>.Foo()' and `G<string>.Foo()'
// Line: 18
using static G<int>;
using static G<string>;
class G<T>
{
public static void Foo ()
{
}
}
class Test
{
public static void Main ()
{
Foo ();
}
}
|