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
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 |
Properties
Property | Summary |
---|---|
AdditionalFiles | Gets additional source files. |
DiagnosticId | [deprecated] Gets compiler diagnostic ID to be fixed. |
EquivalenceKey | Gets code action's equivalence key. |
Source | Gets a source code that will report specified compiler diagnostic. |
Methods
Method | Summary |
---|---|
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. |