using Microsoft.CodeAnalysis.Syntax.InternalSyntax; namespace Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax; internal static class SyntaxListPoolExtensions { public static SyntaxList 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(obj); } }