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
[eglib] In AIX/generic POSIX, handle null addresses better (#17892)
[mono-project.git]
/
mcs
/
tests
/
test-interpolation-10.cs
blob
15f5e2168038f2265f8fa48a661de2c97401b2a6
1
using
System
;
2
3
class
Program
4
{
5
static int
counter
;
6
7
static int
Main
()
8
{
9
FormatPrint
($
"Case
{1}
"
);
10
if
(
counter
!=
1
)
11
return
1
;
12
13
FormatPrint
($
"Case
{3}
"
);
14
if
(
counter
!=
2
)
15
return
2
;
16
17
return
0
;
18
}
19
20
static void
FormatPrint
(
FormattableString message
)
21
{
22
Console
.
WriteLine
(
message
);
23
++
counter
;
24
}
25
}