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, String, String) | Initializes a new instance of CompilerDiagnosticFixTestData |
| CompilerDiagnosticFixTestData(String, String, IEnumerable<AdditionalFile>, String, String, 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. |
| DirectoryPath | Gets the relative directory path. |
| EquivalenceKey | Gets code action's equivalence key. |
| FileName | Gets the file name. |
| 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, String, String) | [deprecated] Creates and return new instance of CompilerDiagnosticFixTestData updated with specified values. |