Skip to main content

CompilerDiagnosticFixTestData Class

Namespace: Roslynator.Testing

Assembly: Roslynator.Testing.Common.dll

Represents test data for a compiler diagnostic fix.

public sealed class CompilerDiagnosticFixTestData

Inheritance

Object CompilerDiagnosticFixTestData

Constructors

ConstructorSummary
CompilerDiagnosticFixTestData(String, IEnumerable<AdditionalFile>, String)Initializes a new instance of CompilerDiagnosticFixTestData
CompilerDiagnosticFixTestData(String, String, IEnumerable<AdditionalFile>, String)[deprecated] Initializes a new instance of CompilerDiagnosticFixTestData

Properties

PropertySummary
AdditionalFilesGets additional source files.
DiagnosticId[deprecated] Gets compiler diagnostic ID to be fixed.
EquivalenceKeyGets code action's equivalence key.
SourceGets a source code that will report specified compiler diagnostic.

Methods

MethodSummary
Equals(Object)(Inherited from Object)
GetHashCode()(Inherited from Object)
GetType()(Inherited from Object)
MemberwiseClone()(Inherited from Object)
ToString()(Inherited from Object)
Update(String, String, IEnumerable<AdditionalFile>, String)[deprecated] Creates and return new instance of CompilerDiagnosticFixTestData updated with specified values.