Skip to main content

MSTestCompilerDiagnosticFixVerifier<TFixProvider> Class

Namespace: Roslynator.Testing.CSharp.MSTest

Assembly: Roslynator.Testing.CSharp.MSTest.dll

Represents a verifier for C# compiler diagnostics.

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

Type Parameters​

TFixProvider

Inheritance​

Object → CodeVerifier → CompilerDiagnosticFixVerifier<TFixProvider> → CSharpCompilerDiagnosticFixVerifier<TFixProvider> → MSTestCompilerDiagnosticFixVerifier<TFixProvider>

Constructors​

ConstructorSummary
MSTestCompilerDiagnosticFixVerifier()Initializes a new instance of MSTestCompilerDiagnosticFixVerifier<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>)
VerifyFixAsync(TestFile, IEnumerable<AdditionalFile>, 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>)
VerifyNoFixAsync(TestFile, IEnumerable<AdditionalFile>, String, TestOptions, CancellationToken)Verifies that specified source will not produce compiler diagnostic. (Inherited from CompilerDiagnosticFixVerifier<TFixProvider>)