Skip to main content

ExpectedTestState(String, String, IEnumerable<(String, TextSpan)>, IEnumerable<String>) Constructor

Containing Type: ExpectedTestState

Assembly: Roslynator.Testing.Common.dll

Initializes a new instance of ExpectedTestState.

public ExpectedTestState(string source, string? codeActionTitle = null, System.Collections.Generic.IEnumerable<(string, Microsoft.CodeAnalysis.Text.TextSpan)>? annotations = null, System.Collections.Generic.IEnumerable<string>? alwaysVerifyAnnotations = null)

Parameters

source String

codeActionTitle String

annotations IEnumerable<(String, TextSpan)>

alwaysVerifyAnnotations IEnumerable<String>