Skip to content

Commit f7bd95c

Browse files
authored
Unseal a method that TS has IVT to and overrides (#77767)
1 parent 4e8ba1c commit f7bd95c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/VisualStudio/Core/Def/LanguageService/AbstractPackage.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ internal IComponentModel ComponentModel
2727
/// This method is called upon package creation and is the mechanism by which roslyn packages calculate and
2828
/// process all package initialization work. Do not override this sealed method, instead override RegisterOnAfterPackageLoadedAsyncWork
2929
/// to indicate the work your package needs upon initialization.
30-
protected sealed override Task InitializeAsync(CancellationToken cancellationToken, IProgress<ServiceProgressData> progress)
30+
/// Not sealed as TypeScriptPackage has IVT and derives from this class and implements this method.
31+
protected override Task InitializeAsync(CancellationToken cancellationToken, IProgress<ServiceProgressData> progress)
3132
=> RegisterAndProcessTasksAsync(RegisterInitializeAsyncWork, cancellationToken);
3233

3334
/// This method is called after package load and is the mechanism by which roslyn packages calculate and

0 commit comments

Comments
 (0)