20 references to ToArray
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (6)
Collections\ArrayBuilderTests.cs (6)
85AssertEx.Equal(new int[0], builder.ToArray());
88AssertEx.Equal(new[] { 1, 2, 3 }, builder.ToArray());
91AssertEx.Equal(new[] { 1, 2, 3 }, builder.ToArray());
94AssertEx.Equal(new[] { 1, 2, 3, 2 }, builder.ToArray());
97AssertEx.Equal(new[] { 1, 2, 3, 2, 2, 3 }, builder.ToArray());
100AssertEx.Equal(new[] { 1, 2, 3, 2, 2, 3, 3 }, builder.ToArray());
Microsoft.CodeAnalysis.VisualBasic (3)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (2)