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

test-549.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3a55f35f6cb19afb8c47108bcc377e2c12a9bb9e (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
//
// from bug 80257
// 

public delegate object Get (Do d);



public class Do {
        public void Register (Get g)
        {
        }

        public void Register (object g)
        {
        }

        static object MyGet (Do d)
        {
                return null;
        }

        public void X ()
        {
                Register (Do.MyGet);
        }
}

public class User {
        static void Main ()
        {
        }
}