Skip to main content

CSharpCompilerDiagnosticFixVerifier<TFixProvider> Class

Namespace: Roslynator.Testing.CSharp

Assembly: Roslynator.Testing.CSharp.dll

Represents a verifier for C# compiler diagnostics.

public abstract class CSharpCompilerDiagnosticFixVerifier<TFixProvider> : Roslynator.Testing.CompilerDiagnosticFixVerifier<TFixProvider> where TFixProvider : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider, new()

Type Parameters

TFixProvider

Inheritance

Object CodeVerifier CompilerDiagnosticFixVerifier<TFixProvider> CSharpCompilerDiagnosticFixVerifier<TFixProvider>

Derived

Properties

PropertySummary
CommonOptionsGets common test options. (Overrides CodeVerifier.CommonOptions)
DiagnosticId(Inherited from CompilerDiagnosticFixVerifier<TFixProvider>)
OptionsGets a test options.

Methods

MethodSummary
Equals(Object)(Inherited from Object)
GetHashCode()(Inherited from Object)
GetType()(Inherited from Object)
MemberwiseClone()(Inherited from Object)
ToString()(Inherited from Object)
VerifyFixAsync(CompilerDiagnosticFixTestData, ExpectedTestState, TestOptions, CancellationToken)Verifies that specified source will produce compiler diagnostic. (Inherited from CompilerDiagnosticFixVerifier<TFixProvider>)
VerifyFixAsync(String, String, IEnumerable<(String source, String expectedSource)>, String, TestOptions, CancellationToken)Verifies that specified source will produce compiler diagnostic. (Inherited from CompilerDiagnosticFixVerifier<TFixProvider>)
VerifyNoFixAsync(CompilerDiagnosticFixTestData, TestOptions, CancellationToken)Verifies that specified source will not produce compiler diagnostic. (Inherited from CompilerDiagnosticFixVerifier<TFixProvider>)
VerifyNoFixAsync(String, IEnumerable<String>, String, TestOptions, CancellationToken)Verifies that specified source will not produce compiler diagnostic. (Inherited from CompilerDiagnosticFixVerifier<TFixProvider>)