summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/EventSignals.cs
blob: 51dc35915747e554a0acbc512e5d961b1867c061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Godot;

public partial class EventSignals : GodotObject
{
    [Signal]
    public delegate void MySignalEventHandler(string str, int num);

    private struct MyStruct { }

    [Signal]
    private delegate void {|GD0201:MyInvalidSignal|}();

    [Signal]
    private delegate void MyInvalidParameterTypeSignalEventHandler(MyStruct {|GD0202:myStruct|});

    [Signal]
    private delegate MyStruct {|GD0203:MyInvalidReturnTypeSignalEventHandler|}();
}