Class RoslynAnalyzer
- Namespace
- SunamoRoslyn
- Assembly
- SunamoRoslyn.dll
A Roslyn diagnostic analyzer that reports named types containing lowercase letters in their names.
[DiagnosticAnalyzer("C#", new string[] { })]
public class RoslynAnalyzer : DiagnosticAnalyzer
- Inheritance
-
RoslynAnalyzer
- Inherited Members
- Extension Methods
Fields
DiagnosticId
The unique identifier for diagnostics produced by this analyzer.
public const string DiagnosticId = "Roslyn"
Field Value
Properties
SupportedDiagnostics
Gets the set of diagnostic descriptors supported by this analyzer.
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
Property Value
Methods
Initialize(AnalysisContext)
Initializes the analyzer by registering analysis actions.
public override void Initialize(AnalysisContext context)
Parameters
contextAnalysisContextThe analysis context to register actions on.