projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] A value for params parameter with default valus is still empty array
[mono.git]
/
mcs
/
tests
/
gtest-optional-32.cs
1
using System;
2
3
abstract class A
4
{
5
public abstract int[] Foo (params int[] args);
6
}
7
8
class B : A
9
{
10
public override int[] Foo (int[] args = null)
11
{
12
return args;
13
}
14
15
static int Main ()
16
{
17
var b = new B();
18
if (b.Foo().Length != 0)
19
return 1;
20
21
return 0;
22
}
23
}