Skip to main content

RefactoringVerifier.VerifyNoRefactoringAsync Method

Containing Type: RefactoringVerifier<TRefactoringProvider>

Assembly: Roslynator.Testing.Common.dll

Overloads

MethodSummary
VerifyNoRefactoringAsync(RefactoringTestData, TestOptions, CancellationToken)Verifies that refactoring will not be applied using specified TRefactoringProvider.
VerifyNoRefactoringAsync(String, String, TestOptions, CancellationToken)Verifies that refactoring will not be applied using specified TRefactoringProvider.

VerifyNoRefactoringAsync(RefactoringTestData, TestOptions, CancellationToken)

Verifies that refactoring will not be applied using specified TRefactoringProvider.

public System.Threading.Tasks.Task VerifyNoRefactoringAsync(Roslynator.Testing.RefactoringTestData data, Roslynator.Testing.TestOptions? options = null, System.Threading.CancellationToken cancellationToken = default)

Parameters

data RefactoringTestData

options TestOptions

cancellationToken CancellationToken

Returns

Task

VerifyNoRefactoringAsync(String, String, TestOptions, CancellationToken)

Verifies that refactoring will not be applied using specified TRefactoringProvider.

public System.Threading.Tasks.Task VerifyNoRefactoringAsync(string source, string? equivalenceKey = null, Roslynator.Testing.TestOptions? options = null, System.Threading.CancellationToken cancellationToken = default)

Parameters

source String

Source code where text selection is marked with [| and |] tokens.

equivalenceKey String

options TestOptions

cancellationToken CancellationToken

Returns

Task