Skip to content

Commit 9300270

Browse files
committed
clarifiy message text for DAP206
1 parent 20659c1 commit 9300270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dapper.AOT.Analyzers/CodeAnalysis/DapperAnalyzer.Diagnostics.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static readonly DiagnosticDescriptor
6161
GlobalIdentity = SqlError("DAP203", "Do not use @@identity", "@@identity should not be used; prefer SCOPE_IDENTITY() or OUTPUT INSERTED.yourid"),
6262
SelectScopeIdentity = SqlInfo("DAP204", "Prefer OUTPUT over SELECT", "Consider using OUTPUT INSERTED.yourid in the INSERT instead of SELECT SCOPE_IDENTITY()"),
6363
NullLiteralComparison = SqlWarning("DAP205", "Null comparison", "Literal null used in comparison; 'is null' or 'is not null' should be preferred"),
64-
ParseError = SqlError("DAP206", "SQL parse error", "Error {0}: {1}"),
64+
ParseError = SqlError("DAP206", "SQL parse error", "SQL parse error {0}: '{1}'"),
6565
ScalarVariableUsedAsTable = SqlError("DAP207", "Scalar used like table", "Scalar variable {0} is used like a table"),
6666
TableVariableUsedAsScalar = SqlError("DAP208", "Table used like scalar", "Table-variable {0} is used like a scalar"),
6767
TableVariableAccessedBeforePopulate = SqlError("DAP209", "Table used before populate", "Table-variable {0} is accessed before it populated"),

0 commit comments

Comments
 (0)