Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
Expand All @@ -28,7 +27,7 @@ public async Task StartupAsync(string clientCapabilitiesString, RazorCohostReque
{
var clientCapabilities = JsonSerializer.Deserialize<VSInternalClientCapabilities>(clientCapabilitiesString, JsonHelpers.JsonSerializerOptions) ?? new();

var providers = _lazyStartupServices.Select(p => p.Value).OrderByAsArray(p => p.Order);
var providers = _lazyStartupServices.SelectAndOrderByAsArray(p => p.Value, p => p.Order);

foreach (var provider in providers)
{
Expand Down