projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5428 from kumpera/wasm-support-p2
[mono.git]
/
mcs
/
tests
/
gtest-optional-25.cs
1
using System;
2
3
public class Usage
4
{
5
public static void Main ()
6
{
7
var bug = new Bug ();
8
string[] tags = bug.MethodWithOptionalParameter<string> (0);
9
}
10
}
11
12
public class Bug
13
{
14
public TValue[] MethodWithOptionalParameter<TValue> (int index, TValue[] defaultValue = null)
15
{
16
return null;
17
}
18
}
19