for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0229-5.cs
blob7415345051b168613a24bfb54015918a22da2495
1 // CS0229: Ambiguity between `Program.I1.Id' and `Program.I2.Id'
2 // Line: 18
4 static class Program
6 public interface I1
8 string Id { get; }
11 public interface I2
13 int Id { get; }
16 static void Generic<T> (T item) where T : I1, I2
18 var a = item.Id;