VisualBasicNamingStyleDiagnosticAnalyzer.vb 905 字节
Newer Older
1 2
' Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.

Š
Šimon Koníček 已提交
3
Imports System.Collections.Immutable
4 5 6 7 8
Imports Microsoft.CodeAnalysis.Diagnostics
Imports Microsoft.CodeAnalysis.Diagnostics.Analyzers.NamingStyles

Namespace Microsoft.CodeAnalysis.VisualBasic.Diagnostics.Analyzers
    <DiagnosticAnalyzer(LanguageNames.VisualBasic)>
Š
Šimon Koníček 已提交
9 10
    Friend NotInheritable Class VisualBasicNamingStyleDiagnosticAnalyzer
        Inherits NamingStyleDiagnosticAnalyzerBase(Of SyntaxKind)
Š
Šimon Koníček 已提交
11

Š
Tweaks  
Šimon Koníček 已提交
12
        Protected Overrides ReadOnly Property SupportedSyntaxKinds As ImmutableArray(Of SyntaxKind) =
13 14
            ImmutableArray.Create(
                SyntaxKind.ModifiedIdentifier,
15
                SyntaxKind.CatchStatement,
16
                SyntaxKind.Parameter,
17
                SyntaxKind.TypeParameter)
18
    End Class
S
Sam Harwell 已提交
19
End Namespace