Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 authored Mar 2, 2021
1 parent ec55905 commit 23cf647
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Public NotInheritable Class MakeConstCodeFixProvider
Inherits CodeFixProvider

Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
Public Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
Get
Return ImmutableArray.Create(MakeConstAnalyzer.MakeConstDiagnosticId)
End Get
End Property

Public NotOverridable Overrides Function GetFixAllProvider() As FixAllProvider
Public Overrides Function GetFixAllProvider() As FixAllProvider
' See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
Return WellKnownFixAllProviders.BatchFixer
End Function

Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
Public Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
Dim diagnostic = context.Diagnostics.First()
Dim diagnosticSpan = diagnostic.Location.SourceSpan
Dim root = Await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(False)
Expand Down

0 comments on commit 23cf647

Please sign in to comment.