MSTestDiagnosticVerifier<TAnalyzer, TFixProvider> Class
Namespace: Roslynator.Testing.CSharp.MSTest
Assembly: Roslynator.Testing.CSharp.MSTest.dll
Represents a verifier for a C# diagnostic that is produced by DiagnosticAnalyzer.
public abstract class MSTestDiagnosticVerifier<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> → MSTestDiagnosticVerifier<TAnalyzer, TFixProvider>
Constructors
Constructor | Summary |
---|---|
MSTestDiagnosticVerifier() | Initializes a new instance of MSTestDiagnosticVerifier<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>) |