diff --git a/src/Compilers/CSharp/Test/Semantic/Semantics/CollectionLiteralTests.cs b/src/Compilers/CSharp/Test/Semantic/Semantics/CollectionLiteralTests.cs index 944afb339c121..1a817c4ecee67 100644 --- a/src/Compilers/CSharp/Test/Semantic/Semantics/CollectionLiteralTests.cs +++ b/src/Compilers/CSharp/Test/Semantic/Semantics/CollectionLiteralTests.cs @@ -853,7 +853,7 @@ static void Main() var x = new[] { new int[0], [1, 2, 3] }; x.Report(includeType: true); var y = new[] { new[] { new int[0] }, [[1, 2, 3]] }; - y.Report(true); + y.Report(includeType: true); } } """; @@ -871,7 +871,7 @@ static void Main() var x = new[] { new byte[0], [1, 2, 3] }; x.Report(includeType: true); var y = new[] { new[] { new byte[0] }, [[1, 2, 3]] }; - y.Report(true); + y.Report(includeType: true); } } """; @@ -935,7 +935,7 @@ static void Main(string[] args) var x = b ? new int[0] : [1, 2, 3]; x.Report(includeType: true); var y = b ? [new int[0]] : [[1, 2, 3]]; - y.Report(true); + y.Report(includeType: true); } } """; @@ -1280,7 +1280,6 @@ static void Main() CompileAndVerify(new[] { source, s_collectionExtensions }, expectedOutput: "System.Int64[][1], System.Int64[][3], "); } - // PROTOTYPE: Test other nested collection type cases, such as F(List x, List[] y) with F([[1]], [[2]]); [Fact] public void TypeInference_14() {