projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4935 from lambdageek/dev-handles-may
[mono.git]
/
mcs
/
tests
/
test-interpolation-02.cs
1
using System;
2
using System.Linq.Expressions;
3
4
class ConversionTest
5
{
6
static int Main ()
7
{
8
byte b = 3;
9
10
FormattableString c1;
11
c1 = $"{b}";
12
if (c1.Format != "{0}")
13
return 1;
14
15
IFormattable c2;
16
c2 = $"format { b }";
17
if (!(c2 is FormattableString))
18
return 2;
19
20
return 0;
21
}
22
}