New test.
[mono.git] / mcs / errors / cs0246-14.cs
1 // cs0246-14.cs: The type or namespace name `Uri' could not be found. Are you missing a using directive or an assembly reference?
2 // Line: 7
3
4 // This bug actual checks that the compiler doesn't crash
5
6 public interface IFoo
7 {
8         string Heh { get; } // significant to cause the error.
9         Uri Hoge (); // note that it cannot be resolved here.
10 }
11
12 public class Foo : IFoo
13 {
14         string IFoo.Heh { get { return null; } }
15         public System.Uri Hoge () { return null; }
16 }
17