1 write to _serviceProvider
Microsoft.VisualStudio.LanguageServices (1)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (1)
74
_serviceProvider
= (IServiceProvider)serviceProvider;
7 references to _serviceProvider
Microsoft.VisualStudio.LanguageServices (7)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (7)
168
if (
_serviceProvider
is null)
181
return RoslynPackage.GetOrLoadAsync(_threadingContext, (IAsyncServiceProvider)
_serviceProvider
, _threadingContext.DisposalToken).AsTask();
248
if (
_serviceProvider
is null
249
|| !
_serviceProvider
.TryGetService<SVsShell, IVsShell>(_threadingContext.JoinableTaskFactory, out var shell))
256
return RoslynPackage.GetOrLoadAsync(_threadingContext, (IAsyncServiceProvider)
_serviceProvider
, _threadingContext.DisposalToken).AsTask();
270
var visible = VisualStudioCommandHandlerHelpers.TryGetSelectedProjectHierarchy(
_serviceProvider
, out var hierarchy) &&
300
if (VisualStudioCommandHandlerHelpers.TryGetSelectedProjectHierarchy(
_serviceProvider
, out var hierarchy))