diff --git a/src/dotnetCampus.CodeAnalysisUtils/GeneratorInfo.g.cs b/src/dotnetCampus.CodeAnalysisUtils/GeneratorInfo.g.cs
index 3ca5900..ced5feb 100644
--- a/src/dotnetCampus.CodeAnalysisUtils/GeneratorInfo.g.cs
+++ b/src/dotnetCampus.CodeAnalysisUtils/GeneratorInfo.g.cs
@@ -73,7 +73,8 @@ public static string ToGlobalTypeOfDisplayString(this INamedTypeSymbol symbol)
///
///
///
- public static IAllowAttributes AddGeneratedToolAndEditorBrowsingAttributes(this IAllowAttributes builder)
+ public static T AddGeneratedToolAndEditorBrowsingAttributes(this T builder)
+ where T : IAllowAttributes
{
return builder
.AddAttribute("[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]")