Skip to content

Commit 806f254

Browse files
author
Robert Holt
committed
Fix UseCompatibleSyntax class error message
1 parent ca95a37 commit 806f254

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rules/CompatibilityRules/UseCompatibleSyntax.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ public override AstVisitAction VisitTypeDefinition(TypeDefinitionAst typeDefinit
347347

348348
string message = string.Format(
349349
CultureInfo.CurrentCulture,
350+
Strings.UseCompatibleSyntaxError,
350351
"type definition",
351352
"class MyClass { ... } | enum MyEnum { ... }",
352353
"3,4");

0 commit comments

Comments
 (0)