mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
71df6d66ae
Also removes a few unnecessary temp variables
25 lines
721 B
C#
25 lines
721 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Godot.SourceGenerators
|
|
{
|
|
internal readonly struct MethodInfo
|
|
{
|
|
public MethodInfo(string name, PropertyInfo returnVal, MethodFlags flags,
|
|
List<PropertyInfo>? arguments,
|
|
List<string?>? defaultArguments)
|
|
{
|
|
Name = name;
|
|
ReturnVal = returnVal;
|
|
Flags = flags;
|
|
Arguments = arguments;
|
|
DefaultArguments = defaultArguments;
|
|
}
|
|
|
|
public string Name { get; }
|
|
public PropertyInfo ReturnVal { get; }
|
|
public MethodFlags Flags { get; }
|
|
public List<PropertyInfo>? Arguments { get; }
|
|
public List<string?>? DefaultArguments { get; }
|
|
}
|
|
}
|