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
[ilasm] Don't break arguments compatiblity
[mono-project.git]
/
mcs
/
tests
/
test-interpolation-06.cs
blob
3341f8d6303725761b212eeb97dbf7318097c591
1
class
X
2
{
3
public static int
Main
()
4
{
5
int
foo
=
4
;
6
string
s
= $@
"
{foo}
"
;
7
if
(
s
!=
"4"
)
8
return
1
;
9
10
string
s2
= $@
"c:\
{foo}
\temp"
;
11
if
(
s2
!=
"c:
\\
4
\\
temp"
)
12
return
2
;
13
14
string
s3
= $@
""
"
{foo}
"
" "
"foo"
""
;
15
if
(
s3
!=
"
\"
4
\" \"
foo
\"
"
)
16
return
3
;
17
18
return
0
;
19
}
20
}