Skip to main content

XunitCompilerDiagnosticFixVerifier<TFixProvider> Class

Namespace: Roslynator.Testing.CSharp.Xunit

Assembly: Roslynator.Testing.CSharp.Xunit.dll

Represents a verifier for C# compiler diagnostics.

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

Type Parameters

TFixProvider

Inheritance

Object CodeVerifier CompilerDiagnosticFixVerifier<TFixProvider> CSharpCompilerDiagnosticFixVerifier<TFixProvider> XunitCompilerDiagnosticFixVerifier<TFixProvider>

Constructors

ConstructorSummary
XunitCompilerDiagnosticFixVerifier()Initializes a new instance of XunitCompilerDiagnosticFixVerifier<TFixProvider>

Properties

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

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>)