15 lines
474 B
C#
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);
|
|
}
|
|
}
|