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
Constructor | Summary |
---|---|
DiagnosticTestData(DiagnosticDescriptor, String, IEnumerable<TextSpan>, IEnumerable<TextSpan>, IEnumerable<AdditionalFile>, String, IFormatProvider, String, Boolean) | [deprecated] Initializes a new instance of DiagnosticTestData. |
DiagnosticTestData(String, IEnumerable<TextSpan>, IEnumerable<TextSpan>, IEnumerable<AdditionalFile>, String, IFormatProvider, String, Boolean) | Initializes a new instance of DiagnosticTestData. |
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 |
EquivalenceKey | Gets code action's equivalence key. |
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. |