Skip to content

Commit e4d8f60

Browse files
linkdotnetegil
authored andcommitted
feat: Make the stub partial
1 parent 7ee2404 commit e4d8f60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bunit.generators/Web.Stubs/StubGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private static bool GenerateStubComponent(StubClassInfo classInfo, SourceProduct
103103
var sourceBuilder = new StringBuilder();
104104

105105
sourceBuilder.AppendLine($"namespace {classInfo.TargetTypeNamespace};");
106-
sourceBuilder.AppendLine($"public class {classInfo.StubClassName} : Microsoft.AspNetCore.Components.ComponentBase");
106+
sourceBuilder.AppendLine($"public partial class {classInfo.StubClassName} : Microsoft.AspNetCore.Components.ComponentBase");
107107
sourceBuilder.Append("{");
108108

109109
foreach (var member in targetTypeSymbol

0 commit comments

Comments
 (0)