Skip to content

Commit 3f69f93

Browse files
authored
Merge pull request #1215 from rjmholt/usecompatiblesyntax-typedef-msg
Fix UseCompatibleSyntax class error message
2 parents 08b79ca + 806f254 commit 3f69f93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rules/CompatibilityRules/UseCompatibleSyntax.cs

+1
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)