Skip to main content

CSharpRefactoringVerifier<TRefactoringProvider> Class

Namespace: Roslynator.Testing.CSharp

Assembly: Roslynator.Testing.CSharp.dll

Represents verifier for a C# code refactoring.

public abstract class CSharpRefactoringVerifier<TRefactoringProvider> : Roslynator.Testing.RefactoringVerifier<TRefactoringProvider> where TRefactoringProvider : Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringProvider, new()

Type Parameters

TRefactoringProvider

Inheritance

Object CodeVerifier RefactoringVerifier<TRefactoringProvider> CSharpRefactoringVerifier<TRefactoringProvider>

Derived

Properties

PropertySummary
CommonOptionsGets common test options. (Overrides CodeVerifier.CommonOptions)
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)
VerifyNoRefactoringAsync(RefactoringTestData, TestOptions, CancellationToken)Verifies that refactoring will not be applied using specified TRefactoringProvider. (Inherited from RefactoringVerifier<TRefactoringProvider>)
VerifyNoRefactoringAsync(String, String, TestOptions, CancellationToken)Verifies that refactoring will not be applied using specified TRefactoringProvider. (Inherited from RefactoringVerifier<TRefactoringProvider>)
VerifyRefactoringAsync(RefactoringTestData, ExpectedTestState, TestOptions, CancellationToken)Verifies that refactoring will be applied correctly using specified TRefactoringProvider. (Inherited from RefactoringVerifier<TRefactoringProvider>)
VerifyRefactoringAsync(String, String, IEnumerable<String>, String, TestOptions, CancellationToken)Verifies that refactoring will be applied correctly using specified TRefactoringProvider. (Inherited from RefactoringVerifier<TRefactoringProvider>)