[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / tests / test-interpolation-02.cs
blobac03cea49d6d27d8c7f23685eb825c54464d15c8
1 using System;
2 using System.Linq.Expressions;
4 class ConversionTest
6 static int Main ()
8 byte b = 3;
10 FormattableString c1;
11 c1 = $"{b}";
12 if (c1.Format != "{0}")
13 return 1;
15 IFormattable c2;
16 c2 = $"format { b }";
17 if (!(c2 is FormattableString))
18 return 2;
20 return 0;