projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
errors
/
cs0229-5.cs
1
// CS0229: Ambiguity between `Program.I1.Id' and `Program.I2.Id'
2
// Line: 18
3
4
static class Program
5
{
6
public interface I1
7
{
8
string Id { get; }
9
}
10
11
public interface I2
12
{
13
int Id { get; }
14
}
15
16
static void Generic<T> (T item) where T : I1, I2
17
{
18
var a = item.Id;
19
}
20
}