We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45edb8d commit e22c65fCopy full SHA for e22c65f
Engine/Generic/CorrectionExtent.cs
@@ -104,5 +104,13 @@ public CorrectionExtent(
104
{
105
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
+ }
115
116
Engine/Generic/DiagnosticRecord.cs
@@ -127,6 +127,14 @@ public DiagnosticRecord(
127
RuleSuppressionID = ruleId;
128
this.suggestedCorrections = suggestedCorrections;
129
130
131
132
+ /// Outputs a DiagnosticRecord as a string.
133
134
+ /// <returns>Returns the message in a DiagnosticRecord.</returns>
135
136
+ return this.Message;
137
138
139
140
0 commit comments