mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
C#: Generate signal event with the same accessibility as the delegate
This commit is contained in:
@@ -276,7 +276,7 @@ namespace Godot.SourceGenerators
|
||||
source.Append(
|
||||
$" /// <inheritdoc cref=\"{signalDelegate.DelegateSymbol.FullQualifiedNameIncludeGlobal()}\"/>\n");
|
||||
|
||||
source.Append(" public event ")
|
||||
source.Append($" {signalDelegate.DelegateSymbol.GetAccessibilityKeyword()} event ")
|
||||
.Append(signalDelegate.DelegateSymbol.FullQualifiedNameIncludeGlobal())
|
||||
.Append(" @")
|
||||
.Append(signalName)
|
||||
|
||||
Reference in New Issue
Block a user