Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Roslyn to 4.4.0 1.22369.1 #2420

Merged
merged 14 commits into from
Jul 25, 2022
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ internal static partial class CompletionListBuilder
completionTasksAndProviderNamesBuilder.Add(((Task<CompletionChange>?)completionService.GetChangeAsync(document, completion), providerName));
}
}
var completionTasksAndProviderNames = completionTasksAndProviderNamesBuilder.MoveToImmutable();
var completionTasksAndProviderNames = completionTasksAndProviderNamesBuilder.ToImmutable();
filipw marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

@filipw why did you revert this? Just to see if it would fix the OOM issue?

Copy link
Member

Choose a reason for hiding this comment

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

it failed many tests with System.InvalidOperationException : MoveToImmutable can only be performed when Count equals Capacity.


for (int i = 0; i < completions.ItemsList.Count; i++)
{
Expand Down