Skip to main content

RefactoringTestData.Update(String, IEnumerable<TextSpan>, IEnumerable<AdditionalFile>, String) Method

Containing Type: RefactoringTestData

Assembly: Roslynator.Testing.Common.dll

WARNING: This API is now obsolete.

This method is obsolete and will be removed in future version.

Creates and return new instance of RefactoringTestData updated with specified values.

[Obsolete("This method is obsolete and will be removed in future version.")]
public Roslynator.Testing.RefactoringTestData Update(string source, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Text.TextSpan> spans, System.Collections.Generic.IEnumerable<Roslynator.Testing.AdditionalFile> additionalFiles, string equivalenceKey)

Parameters

source String

spans IEnumerable<TextSpan>

additionalFiles IEnumerable<AdditionalFile>

equivalenceKey String

Returns

RefactoringTestData

Attributes