6 references to ToArrayAndFree
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (6)
CustomTypeInfo.cs (2)
115
return new ReadOnlyCollection<byte>(builder.
ToArrayAndFree
());
196
return new ReadOnlyCollection<string?>(builder.
ToArrayAndFree
());
CustomTypeInfoTypeArgumentMap.cs (1)
194
return startsBuilder.
ToArrayAndFree
();
Formatter.Values.cs (1)
161
GetTupleExpression(values.
ToArrayAndFree
()),
MemberExpansion.cs (1)
119
favoritesExpansion = new MemberExpansion(favoritesMembers.
ToArrayAndFree
(), customTypeInfoMap, containsFavorites: true);
TypeHelpers.cs (1)
697
return typeDefinition.MakeGenericType(builder.
ToArrayAndFree
());