XunitDiagnosticVerifier<TAnalyzer, TFixProvider> Class
Namespace: Roslynator.Testing.CSharp.Xunit
Assembly: Roslynator.Testing.CSharp.Xunit.dll
Represents a verifier for a C# diagnostic that is produced by DiagnosticAnalyzer.
public abstract class XunitDiagnosticVerifier<TAnalyzer, TFixProvider> : Roslynator.Testing.CSharp.CSharpDiagnosticVerifier<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> → XunitDiagnosticVerifier<TAnalyzer, TFixProvider>
Constructors
Constructor | Summary |
---|---|
XunitDiagnosticVerifier() | Initializes a new instance of XunitDiagnosticVerifier<TAnalyzer, TFixProvider>. |
Properties
Property | Summary |
---|---|
CommonOptions | Gets common test options. (Inherited from CSharpDiagnosticVerifier<TAnalyzer, TFixProvider>) |
Descriptor | (Inherited from DiagnosticVerifier<TAnalyzer, TFixProvider>) |
Options | Gets a test options. (Inherited from CSharpDiagnosticVerifier<TAnalyzer, TFixProvider>) |