hybridclr_unity/Editor/ABI/ParamInfo.cs

31 lines
562 B
C#
Raw Normal View History

2022-09-22 08:56:07 +08:00
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2022-10-17 12:16:18 +08:00
namespace HybridCLR.Editor.ABI
2022-09-22 08:56:07 +08:00
{
public class ParamInfo
{
public TypeInfo Type { get; set; }
public int Index { get; set; }
}
public class ReturnInfo
{
public TypeInfo Type { get; set; }
public bool IsVoid => Type.PorType == ParamOrReturnType.VOID;
public override string ToString()
{
return Type.GetTypeName();
}
2022-09-22 08:56:07 +08:00
}
}