Skip to content

Commit 9e100f0

Browse files
Cleanup tests
1 parent f2ddf6e commit 9e100f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VisualStudio/Core/Test/Diagnostics/ExternalDiagnosticUpdateSourceTests.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.Diagnostics
300300

301301
Private ReadOnly _analyzerInfoCache As DiagnosticAnalyzerInfoCache
302302

303-
Public Sub New(Optional data As ImmutableArray(Of DiagnosticData) = Nothing)
303+
Public Sub New()
304304
_analyzerInfoCache = New DiagnosticAnalyzerInfoCache()
305305
End Sub
306306

@@ -321,7 +321,7 @@ Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.Diagnostics
321321
Return SpecializedTasks.EmptyImmutableArray(Of DiagnosticData)()
322322
End Function
323323

324-
Public Function GetDiagnosticsForIdsAsync(solution As Solution, projectId As ProjectId, documentId As DocumentId, diagnosticIds As ImmutableHashSet(Of String), shouldIncludeAnalyzer As Func(Of DiagnosticAnalyzer, Boolean), getDocuments As Func(Of Project, DocumentId, IReadOnlyList(Of DocumentId)), includeLocalDocumentDiagnostics As Boolean, includeNonLocalDocumentDiagnostics As Boolean, cancellationToken As CancellationToken) As Task(Of ImmutableArray(Of DiagnosticData)) Implements IDiagnosticAnalyzerService.GetDiagnosticsForIdsAsync
324+
Public Function GetDiagnosticsForIdsAsync(solution As Solution, projectId As ProjectId, documentId As DocumentId, diagnosticIds As ImmutableHashSet(Of String), shouldIncludeAnalyzer As Func(Of DiagnosticAnalyzer, Boolean), includeLocalDocumentDiagnostics As Boolean, includeNonLocalDocumentDiagnostics As Boolean, cancellationToken As CancellationToken) As Task(Of ImmutableArray(Of DiagnosticData)) Implements IDiagnosticAnalyzerService.GetDiagnosticsForIdsAsync
325325
Return SpecializedTasks.EmptyImmutableArray(Of DiagnosticData)()
326326
End Function
327327

0 commit comments

Comments
 (0)