diff --git a/AutomaticInterface/AutomaticInterface/Builder.cs b/AutomaticInterface/AutomaticInterface/Builder.cs index 840657b..04d5030 100644 --- a/AutomaticInterface/AutomaticInterface/Builder.cs +++ b/AutomaticInterface/AutomaticInterface/Builder.cs @@ -10,7 +10,7 @@ namespace AutomaticInterface; public static class Builder { private static string InheritDoc(ISymbol source) => - $"/// ', '}')}\" />"; // we use inherit doc because that should be able to fetch documentation from base classes. + $"/// ', '}').Replace("params ", "")}\" />"; // we use inherit doc because that should be able to fetch documentation from base classes. private static readonly SymbolDisplayFormat FullyQualifiedDisplayFormat = new( diff --git a/AutomaticInterface/Tests/Methods/Methods.WorksWithParamsParameters.verified.txt b/AutomaticInterface/Tests/Methods/Methods.WorksWithParamsParameters.verified.txt index db55f87..b0ae6a8 100644 --- a/AutomaticInterface/Tests/Methods/Methods.WorksWithParamsParameters.verified.txt +++ b/AutomaticInterface/Tests/Methods/Methods.WorksWithParamsParameters.verified.txt @@ -11,7 +11,7 @@ namespace AutomaticInterfaceExample [global::System.CodeDom.Compiler.GeneratedCode("AutomaticInterface", "")] public partial interface IDemoClass { - /// + /// void AMethod(params int[] numbers); }