Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-147.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e16a86a033bccf8d62d7330c6e21355c4334eebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
namespace A
{
    interface IFoo
    {
        void Hello (IFoo foo);
    }
}

namespace B
{
  partial class Test <T> : IDoo, A.IFoo where T : A.IFoo
    { }
}

namespace B
{
    using A;

    partial class Test <T> : Y, IFoo where T : IFoo
    {
        void IFoo.Hello (IFoo foo)
        { }
    }
}

interface IDoo { }

class Y { }

class X
{
    static void Main ()
    { }
}