/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/VisualBasic/Impl/LanguageService/VisualBasicCreateServicesOnTextViewConnection.vb
32 строки
1 KB
Jason Malinowski
Remove use of DisposalToken if we can just call Dispose() instead
04 авг 2026, 23:51
04 авг 2026, 23:51
5ab65fc
Код
Авторство
О чём код?
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports System.ComponentModel.Composition Imports Microsoft.CodeAnalysis Imports Microsoft.CodeAnalysis.Editor Imports Microsoft.CodeAnalysis.Host.Mef Imports Microsoft.CodeAnalysis.Options Imports Microsoft.CodeAnalysis.Shared.TestHooks Imports Microsoft.VisualStudio.LanguageServices.Implementation.LanguageService Imports Microsoft.VisualStudio.Text.Editor Imports Microsoft.VisualStudio.Utilities Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic <Export(GetType(IWpfTextViewConnectionListener))> <ContentType(ContentTypeNames.VisualBasicContentType)> <TextViewRole(PredefinedTextViewRoles.Interactive)> Friend Class VisualBasicCreateServicesOnTextViewConnection Inherits AbstractCreateServicesOnTextViewConnection <ImportingConstructor> <Obsolete(MefConstruction.ImportingConstructorMessage, True)> Public Sub New( workspace As VisualStudioWorkspace, globalOptions As IGlobalOptionService, listenerProvider As IAsynchronousOperationListenerProvider) MyBase.New(workspace, globalOptions, listenerProvider, languageName:=LanguageNames.VisualBasic) End Sub End Class End Namespace