Browse Source

Update: LUAC004 messageFormat

AnnulusGames 1 year ago
parent
commit
bd61bd64f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Lua.SourceGenerator/DiagnosticDescriptors.cs

+ 1 - 1
src/Lua.SourceGenerator/DiagnosticDescriptors.cs

@@ -33,7 +33,7 @@ public static class DiagnosticDescriptors
     public static readonly DiagnosticDescriptor InvalidPropertyType = new(
         id: "LUAC004",
         title: "The type of the field or property must be LuaValue or a type that can be converted to LuaValue.",
-        messageFormat: "The type of the field or property must be LuaValue or a type that can be converted to LuaValue.",
+        messageFormat: "The type of '{0}' must be LuaValue or a type that can be converted to LuaValue.",
         category: Category,
         defaultSeverity: DiagnosticSeverity.Error,
         isEnabledByDefault: true);