Files
2026-08-27 10:56:38 -06:00

15 lines
474 B
C#

using Microsoft.CodeAnalysis.Syntax.InternalSyntax;
namespace Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax;
internal static class SyntaxListPoolExtensions
{
public static SyntaxList<SyntaxToken> ToTokenListAndFree(this SyntaxListPool pool, SyntaxListBuilder builder)
{
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
GreenNode obj = builder.ToListNode();
pool.Free(builder);
return new SyntaxList<SyntaxToken>(obj);
}
}