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