7 references to ToArray
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (7)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\AggregateExpansion.cs (1)
26
return new AggregateExpansion(expansions.
ToArray
());
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (3)
236
publicExpansions.Add(new MemberExpansion(publicMembers.
ToArray
(), customTypeInfoMap));
260
publicExpansions.Add(new MemberExpansion(publicMembers.
ToArray
(), customTypeInfoMap));
269
members: new MemberExpansion(nonPublicMembers.
ToArray
(), customTypeInfoMap))
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (1)
339
var specifiers = builder.
ToArray
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ArrayBuilder.cs (1)
99
var result = this.
ToArray
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (1)
658
var result = (builder.Count > 0) ? builder.
ToArray
() : null;