summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0246-14.cs
blob: 27c6c0aee715e65ec2d3bc634c32239186b68bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0246: The type or namespace name `Uri' could not be found. Are you missing `System' using directive?
// Line: 7

public interface IFoo
{
        string Heh { get; } // significant to cause the error.
        Uri Hoge (); // note that it cannot be resolved here.
}

public class Foo : IFoo
{
        string IFoo.Heh { get { return null; } }
        public System.Uri Hoge () { return null; }
}