Re-factoring / boilerplate code
This commit is contained in:
@@ -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
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user