diff --git a/Esiur/Esiur.csproj b/Esiur/Esiur.csproj index 8e24a92..e0d2f4b 100644 --- a/Esiur/Esiur.csproj +++ b/Esiur/Esiur.csproj @@ -5,7 +5,7 @@ Ahmed Kh. Zamil http://www.esiur.com true - 2.4.9 + 2.4.10 https://github.com/esiur/esiur-dotnet Ahmed Kh. Zamil diff --git a/Esiur/Proxy/ResourceGenerator.cs b/Esiur/Proxy/ResourceGenerator.cs index c33c0a9..94bedb5 100644 --- a/Esiur/Proxy/ResourceGenerator.cs +++ b/Esiur/Proxy/ResourceGenerator.cs @@ -88,7 +88,7 @@ public class ResourceGenerator : ISourceGenerator var className = attribute.AttributeClass.ToDisplayString(); if (!attribute.ConstructorArguments.Any() & !attribute.ConstructorArguments.Any()) - return className; + return $"[{className}]"; var strBuilder = new StringBuilder();