modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/Methods.cs
raw symbols SCIP| 1 | using Godot; |
| 2 | |
| 3 | public partial class Methods : GodotObject |
| 4 | { |
| 5 | private void MethodWithOverload() |
| 6 | { |
| 7 | } |
| 8 | |
| 9 | private void MethodWithOverload(int a) |
| 10 | { |
| 11 | } |
| 12 | |
| 13 | private void MethodWithOverload(int a, int b) |
| 14 | { |
| 15 | } |
| 16 | |
| 17 | // Should be ignored. The previous one is picked. |
| 18 | private void MethodWithOverload(float a, float b) |
| 19 | { |
| 20 | } |
| 21 | |
| 22 | // Generic methods should be ignored. |
| 23 | private void GenericMethod<T>(T t) |
| 24 | { |
| 25 | } |
| 26 | } |