Skip to content

Commit

Permalink
Merge pull request #1215 from rjmholt/usecompatiblesyntax-typedef-msg
Browse files Browse the repository at this point in the history
Fix UseCompatibleSyntax class error message
  • Loading branch information
JamesWTruher authored Apr 23, 2019
2 parents 08b79ca + 806f254 commit 3f69f93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rules/CompatibilityRules/UseCompatibleSyntax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ public override AstVisitAction VisitTypeDefinition(TypeDefinitionAst typeDefinit

string message = string.Format(
CultureInfo.CurrentCulture,
Strings.UseCompatibleSyntaxError,
"type definition",
"class MyClass { ... } | enum MyEnum { ... }",
"3,4");
Expand Down

0 comments on commit 3f69f93

Please sign in to comment.