CompilerDiagnosticFixTestData Constructors
Containing Type: CompilerDiagnosticFixTestData
Assembly: Roslynator.Testing.Common.dll
Overloads
Constructor | Summary |
---|---|
CompilerDiagnosticFixTestData(String, IEnumerable<AdditionalFile>, String) | Initializes a new instance of CompilerDiagnosticFixTestData |
CompilerDiagnosticFixTestData(String, String, IEnumerable<AdditionalFile>, String) | [deprecated] Initializes a new instance of CompilerDiagnosticFixTestData |
CompilerDiagnosticFixTestData(String, IEnumerable<AdditionalFile>, String)
Initializes a new instance of CompilerDiagnosticFixTestData
public CompilerDiagnosticFixTestData(string source, System.Collections.Generic.IEnumerable<Roslynator.Testing.AdditionalFile>? additionalFiles = null, string? equivalenceKey = null)
Parameters
source String
additionalFiles IEnumerable<AdditionalFile>
equivalenceKey String
CompilerDiagnosticFixTestData(String, String, IEnumerable<AdditionalFile>, String)
WARNING: This API is now obsolete.
This constructor is obsolete and will be removed in future versions.
Initializes a new instance of CompilerDiagnosticFixTestData
[Obsolete("This constructor is obsolete and will be removed in future versions.")]
public CompilerDiagnosticFixTestData(string diagnosticId, string source, System.Collections.Generic.IEnumerable<Roslynator.Testing.AdditionalFile>? additionalFiles = null, string? equivalenceKey = null)
Parameters
diagnosticId String
source String
additionalFiles IEnumerable<AdditionalFile>
equivalenceKey String