Skip to main content

DiagnosticVerifier.VerifyNoDiagnosticAsync Method

Containing Type: DiagnosticVerifier<TAnalyzer, TFixProvider>

Assembly: Roslynator.Testing.Common.dll

Overloads

MethodSummary
VerifyNoDiagnosticAsync(DiagnosticTestData, TestOptions, CancellationToken)Verifies that specified source will not produce specified diagnostic.
VerifyNoDiagnosticAsync(String, IEnumerable<String>, TestOptions, CancellationToken)Verifies that specified source will not produce specified diagnostic.

VerifyNoDiagnosticAsync(DiagnosticTestData, TestOptions, CancellationToken)

Verifies that specified source will not produce specified diagnostic.

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

Parameters

data DiagnosticTestData

options TestOptions

cancellationToken CancellationToken

Returns

Task

VerifyNoDiagnosticAsync(String, IEnumerable<String>, TestOptions, CancellationToken)

Verifies that specified source will not produce specified diagnostic.

public System.Threading.Tasks.Task VerifyNoDiagnosticAsync(string source, System.Collections.Generic.IEnumerable<string>? additionalFiles = null, Roslynator.Testing.TestOptions? options = null, System.Threading.CancellationToken cancellationToken = default)

Parameters

source String

additionalFiles IEnumerable<String>

options TestOptions

cancellationToken CancellationToken

Returns

Task