projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
errors
/
cs0121-27.cs
1
// CS0121: The call is ambiguous between the following methods or properties: `G<int>.Foo()' and `G<string>.Foo()'
2
// Line: 18
3
4
using static G<int>;
5
using static G<string>;
6
7
class G<T>
8
{
9
public static void Foo ()
10
{
11
}
12
}
13
14
class Test
15
{
16
public static void Main ()
17
{
18
Foo ();
19
}
20
}