DiagnosticTestData Class
Namespace: Roslynator.Testing
Assembly: Roslynator.Testing.Common.dll
Represents test data for a diagnostic and its fix.
public sealed class DiagnosticTestData
Inheritance
Object → DiagnosticTestData
Constructors
Properties
| Property | Summary |
|---|---|
| AdditionalFiles | Gets additional source files. |
| AdditionalSpans | Gets diagnostic's additional locations. |
| AlwaysVerifyAdditionalLocations | True if additional locations should be always verified. |
| Descriptor | [deprecated] Gets diagnostic's descriptor. |
| DiagnosticMessage | Gets diagnostic's message |
| DirectoryPath | Gets the relative directory path. |
| EquivalenceKey | Gets code action's equivalence key. |
| FileName | Gets the file name. |
| FormatProvider | Gets format provider to be used to format diagnostic's message. |
| Source | Gets source that will report specified diagnostic. |
| Spans | Gets diagnostic's locations. |
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(DiagnosticDescriptor, String, IEnumerable<TextSpan>, IEnumerable<TextSpan>, IEnumerable<AdditionalFile>, String, IFormatProvider, String, Boolean) | [deprecated] Creates and return new instance of DiagnosticTestData updated with specified values. |