Include constructors in model (ConstructorInfo)

This commit is contained in:
Katy Coe
2019-10-28 04:20:06 +01:00
parent 6c41ce724e
commit a87c701f12
7 changed files with 77 additions and 42 deletions

View File

@@ -4,23 +4,8 @@
All rights reserved.
*/
using System.Reflection;
namespace Il2CppInspector.Reflection
{
public class ConstructorInfo : MethodBase
{
// IL names of constructor and static constructor
public static readonly string ConstructorName = ".ctor";
public static readonly string TypeConstructorName = ".cctor";
// TODO
public override MemberTypes MemberType => MemberTypes.Constructor;
public ConstructorInfo(Il2CppInspector pkg, int methodIndex, TypeInfo declaringType) : base(pkg, methodIndex, declaringType) { }
}
public class CustomAttributeData
{
// TODO