CompilerDiagnosticFixVerifier<TFixProvider> Class
Namespace: Roslynator.Testing
Assembly: Roslynator.Testing.Common.dll
Represents a verifier for compiler diagnostic.
public abstract class CompilerDiagnosticFixVerifier<TFixProvider> : Roslynator.Testing.CodeVerifier where TFixProvider : Microsoft.CodeAnalysis.CodeFixes.CodeFixProvider, new()
Type Parameters
TFixProvider
Inheritance
Object → CodeVerifier → CompilerDiagnosticFixVerifier<TFixProvider>
Derived
Properties
Property | Summary |
---|---|
CommonOptions | Gets a common code verification options. (Inherited from CodeVerifier) |
DiagnosticId | |
Options | Gets a code verification options. (Inherited from CodeVerifier) |
Methods
Method | Summary |
---|---|
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. |
VerifyFixAsync(String, String, IEnumerable<(String source, String expectedSource)>, String, TestOptions, CancellationToken) | Verifies that specified source will produce compiler diagnostic. |
VerifyNoFixAsync(CompilerDiagnosticFixTestData, TestOptions, CancellationToken) | Verifies that specified source will not produce compiler diagnostic. |
VerifyNoFixAsync(String, IEnumerable<String>, String, TestOptions, CancellationToken) | Verifies that specified source will not produce compiler diagnostic. |