C#: inheritdoc the "///" comment from EventHandler to the generated event

This commit is contained in:
Magian 2022-09-18 23:08:22 +08:00
parent d6d43dc785
commit 4bd7c63669

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(" ")