namespace Godot.SourceGenerators.Sample { partial class Foo : Godot.Object { } // Foo again in the same file partial class Foo { } }