Re-factoring / boilerplate code

This commit is contained in:
Katy Coe
2017-11-08 01:08:02 +01:00
parent 3db660a454
commit 5e652606b2
7 changed files with 75 additions and 39 deletions

View File

@@ -4,35 +4,29 @@
All rights reserved.
*/
using System.Reflection;
namespace Il2CppInspector.Reflection
{
/*
public abstract class MethodBase : MemberInfo
{
// (not code attributes)
public MethodAttributes Attributes { get; set; }
// TODO: ContainsGenericParameters
}
public class ConstructorInfo : MethodBase
{
// TODO
}
public override MemberTypes MemberType => MemberTypes.Constructor | MemberTypes.Method;
public class MethodInfo : MethodBase
{
// TODO
public ConstructorInfo(Il2CppInspector pkg, int methodIndex, TypeInfo declaringType) :
base(declaringType) { }
}
public class PropertyInfo : MemberInfo
{
// TODO
public override MemberTypes MemberType => MemberTypes.Property | MemberTypes.Method;
public PropertyInfo(Il2CppInspector pkg, int methodIndex, TypeInfo declaringType) :
base(declaringType) { }
}
public class CustomAttributeData
{
// TODO
}
*/
}