File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -104,5 +104,13 @@ public CorrectionExtent(
104
104
{
105
105
106
106
}
107
+
108
+ /// <summary>
109
+ /// Outputs a CorrectionExtent as a string.
110
+ /// </summary>
111
+ /// <returns>Returns the text in a CorrectionExtent.</returns>
112
+ public override string ToString ( ) {
113
+ return this . Text ;
114
+ }
107
115
}
108
116
}
Original file line number Diff line number Diff line change @@ -127,6 +127,14 @@ public DiagnosticRecord(
127
127
RuleSuppressionID = ruleId ;
128
128
this . suggestedCorrections = suggestedCorrections ;
129
129
}
130
+
131
+ /// <summary>
132
+ /// Outputs a DiagnosticRecord as a string.
133
+ /// </summary>
134
+ /// <returns>Returns the message in a DiagnosticRecord.</returns>
135
+ public override string ToString ( ) {
136
+ return this . Message ;
137
+ }
130
138
}
131
139
132
140
You can’t perform that action at this time.
0 commit comments