[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-interpolation-06.cs
blob3341f8d6303725761b212eeb97dbf7318097c591
1 class X
3 public static int Main ()
5 int foo = 4;
6 string s = $@"{foo}";
7 if (s != "4")
8 return 1;
10 string s2 = $@"c:\{foo}\temp";
11 if (s2 != "c:\\4\\temp")
12 return 2;
14 string s3 = $@"""{foo}"" ""foo""";
15 if (s3 != "\"4\" \"foo\"")
16 return 3;
18 return 0;