Skip to content

Commit 88b8f21

Browse files
committed
Fix: Use guid in the name
1 parent ae06d2d commit 88b8f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.Core.SourceGenerator/Generators/RealTimeLayoutGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
2424
var namespaceName = GetNamespace(classDeclaration);
2525

2626
var source = GenerateClass(namespaceName, className, type);
27-
context.AddSource($"{className}.g.cs", SourceText.From(source, Encoding.UTF8));
27+
context.AddSource($"{className}.{Guid.NewGuid()}.g.cs", SourceText.From(source, Encoding.UTF8));
2828
});
2929
}
3030

0 commit comments

Comments
 (0)