Skip to content

Conversation

@davidwengier
Copy link
Member

Fixes #8791

@davidwengier davidwengier requested a review from a team as a code owner June 7, 2023 03:56
@davidwengier davidwengier merged commit b6e673c into dotnet:main Jun 8, 2023
@davidwengier davidwengier deleted the SemanticTokensLegend branch June 8, 2023 02:30
public RazorSemanticTokensLegend(ClientCapabilities clientCapabilities)
{
var builder = ImmutableArray.CreateBuilder<string>();
var _ = ArrayBuilderPool<string>.GetPooledObject(out var builder);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed the using to ensure this gets put back in the pool!


private static ImmutableArray<string> GetRazorSemanticTokenTypes()
{
var _ = ArrayBuilderPool<string>.GetPooledObject(out var builder);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed the using to ensure this gets put back in the pool!

davidwengier added a commit that referenced this pull request Jun 20, 2023
@davidwengier davidwengier restored the SemanticTokensLegend branch June 20, 2023 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address obsoleted RoslynTokenTypes

2 participants