|
|
|
@ -19,6 +19,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
@@ -19,6 +19,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
|
|
|
|
|
Console.WriteLine($"\ta{args ?? args}"); |
|
|
|
|
Console.WriteLine($"\ta{args[0][0] == 'a'}"); |
|
|
|
|
Console.WriteLine($"\ta{$"a{args.Length}" == args[0]}"); |
|
|
|
|
Console.WriteLine($"\ta{args.Length}}}"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void ArrayExpansionSpecialCases(object[] args) |
|
|
|
@ -54,6 +55,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
@@ -54,6 +55,7 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
|
|
|
|
|
Console.WriteLine(string.Format("{0:}", args.Length)); |
|
|
|
|
Console.WriteLine(string.Format("{0{a}0}", args.Length)); |
|
|
|
|
Console.WriteLine(string.Format("test: {0}", string.Join(",", args))); |
|
|
|
|
Console.WriteLine(string.Format("test: {0}}", args.Length)); |
|
|
|
|
#pragma warning restore
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|