Merge pull request #65879 from magian1127/4.0GenSDoc

inheritdoc the "///" comment from EventHandler to the generated event
This commit is contained in:
Rémi Verschelde 2022-09-19 09:23:05 +02:00
commit 956ea15e81

View File

@ -235,6 +235,8 @@ namespace Godot.SourceGenerators
.Append(signalName)
.Append(";\n");
source.Append($" /// <inheritdoc cref=\"{signalDelegate.DelegateSymbol.FullQualifiedName()}\"/>\n");
source.Append(" public event ")
.Append(signalDelegate.DelegateSymbol.FullQualifiedName())
.Append(" ")