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
Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git]
/
mcs
/
tests
/
gtest-named-03.cs
blob
d363e9a079508272700e025aecfba8ce1643506b
1
using
System
;
2
3
public class
C
4
{
5
static int
Foo
(
int
a
,
int
b
=
1
,
int
c
=
1
)
6
{
7
return
a
;
8
}
9
10
int
v
;
11
int this
[
int
a
,
int
b
=
1
,
int
c
=
2
] {
12
set
{
13
v
=
a
*
500
+
b
*
50
+
c
;
14
}
15
get
{
16
return
v
;
17
}
18
}
19
20
public static int
Main
()
21
{
22
if
(
Foo
(
c
:
5
,
a
:
10
) !=
10
)
23
return
1
;
24
25
if
(
Foo
(
a
:
10
) !=
10
)
26
return
2
;
27
28
C c
=
new
C
();
29
c
[
a
:
1
,
c
:
2
,
b
:
3
] =
1
;
30
var
res
=
c
[
1
];
31
if
(
res
!=
652
)
32
return
3
;
33
34
return
0
;
35
}
36
}