repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
tests
/
gtest-optional-25.cs
blob
4d67dc94185000c26cc2869715bf0e1aa35c8e7c
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