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