@@ -32,7 +32,7 @@ namespace Microsoft.VisualStudio.ProjectSystem.LanguageServices;
3232[ Export ( typeof ( IWorkspaceWriter ) ) ]
3333[ Export ( ExportContractNames . Scopes . UnconfiguredProject , typeof ( IProjectDynamicLoadComponent ) ) ]
3434[ AppliesTo ( ProjectCapability . DotNetLanguageService ) ]
35- internal sealed class LanguageServiceHost : OnceInitializedOnceDisposedUnderLockAsync , IProjectDynamicLoadComponent , IWorkspaceWriter
35+ internal sealed class LanguageServiceHost : OnceInitializedOnceDisposedAsync , IProjectDynamicLoadComponent , IWorkspaceWriter
3636{
3737 private readonly TaskCompletionSource _firstPrimaryWorkspaceSet = new ( ) ;
3838
@@ -130,7 +130,7 @@ protected override async Task InitializeCoreAsync(CancellationToken cancellation
130130 // We track per-slice data via this source.
131131 _activeConfigurationGroupSubscriptionService . SourceBlock . SyncLinkOptions ( ) ,
132132 target : DataflowBlockFactory . CreateActionBlock < IProjectVersionedValue < ( ConfiguredProject ActiveConfiguredProject , ConfigurationSubscriptionSources Sources ) >> (
133- async update => await ExecuteUnderLockAsync ( cancellationToken => OnSlicesChanged ( update , cancellationToken ) ) ,
133+ update => OnSlicesChanged ( update , cancellationToken ) ,
134134 _unconfiguredProject ,
135135 ProjectFaultSeverity . LimitedFunctionality ) ,
136136 linkOptions : DataflowOption . PropagateCompletion ,
@@ -346,7 +346,7 @@ public async Task AfterLoadInitialConfigurationAsync()
346346 _projectFaultHandler . Forget ( result , _unconfiguredProject , ProjectFaultSeverity . LimitedFunctionality ) ;
347347 }
348348
349- protected override Task DisposeCoreUnderLockAsync ( bool initialized )
349+ protected override Task DisposeCoreAsync ( bool initialized )
350350 {
351351 _firstPrimaryWorkspaceSet . TrySetCanceled ( ) ;
352352
0 commit comments