diff options
author | Magian <zang_magian@163.com> | 2022-09-18 23:08:22 +0800 |
---|---|---|
committer | Magian <zang_magian@163.com> | 2022-09-18 23:08:22 +0800 |
commit | 4bd7c6366973ce361007070c4dd8fe86fd11bf33 (patch) | |
tree | c3c7444095809e0a88a56a4c788ccba5bbcb4892 /modules/mono | |
parent | d6d43dc78512a046eed496327f89f9791621b7fc (diff) |
C#: inheritdoc the "///" comment from EventHandler to the generated event
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/ScriptSignalsGenerator.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/ScriptSignalsGenerator.cs b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/ScriptSignalsGenerator.cs index 1df41a905b..eeda1042ca 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/ScriptSignalsGenerator.cs +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/ScriptSignalsGenerator.cs @@ -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(" ") |