From 4bd7c6366973ce361007070c4dd8fe86fd11bf33 Mon Sep 17 00:00:00 2001 From: Magian Date: Sun, 18 Sep 2022 23:08:22 +0800 Subject: C#: inheritdoc the "///" comment from EventHandler to the generated event --- .../Godot.NET.Sdk/Godot.SourceGenerators/ScriptSignalsGenerator.cs | 2 ++ 1 file changed, 2 insertions(+) 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($" /// \n"); + source.Append(" public event ") .Append(signalDelegate.DelegateSymbol.FullQualifiedName()) .Append(" ") -- cgit v1.2.3