projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow passing null to JsonArray.Add()
[mono.git]
/
mcs
/
tests
/
test-467.cs
1
using System;
2
3
class A
4
{
5
public delegate int D ();
6
}
7
8
class B : A
9
{
10
new delegate void D ();
11
}
12
13
class C
14
{
15
static int Foo ()
16
{
17
return 1;
18
}
19
20
public static int Main ()
21
{
22
A.D d = new B.D (Foo);
23
if (d () != 1)
24
return 1;
25
26
return 0;
27
}
28
}