CSharpDiagnosticVerifier<TAnalyzer, TFixProvider> Class
Namespace: Roslynator.Testing.CSharp
Assembly: Roslynator.Testing.CSharp.dll
Represents a verifier for a C# diagnostic that is produced by DiagnosticAnalyzer.
public abstract class CSharpDiagnosticVerifier<TAnalyzer, TFixProvider> : Roslynator.Testing.DiagnosticVerifier<TAnalyzer, TFixProvider>
where TAnalyzer : Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer, new()
where TFixProvider : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider, new()
Type Parameters
TAnalyzer
TFixProvider
Inheritance
Object → CodeVerifier → DiagnosticVerifier<TAnalyzer, TFixProvider> → CSharpDiagnosticVerifier<TAnalyzer, TFixProvider>
Derived
Properties
Property | Summary |
---|---|
CommonOptions | Gets common test options. (Overrides CodeVerifier.CommonOptions) |
Descriptor | (Inherited from DiagnosticVerifier<TAnalyzer, TFixProvider>) |
Options | Gets a test options. |