IMethod.cs 697 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using ILRuntime.CLR.TypeSystem;
  6. namespace ILRuntime.CLR.Method
  7. {
  8. public interface IMethod
  9. {
  10. string Name { get; }
  11. int ParameterCount { get; }
  12. bool HasThis { get; }
  13. IType DeclearingType { get; }
  14. IType ReturnType { get; }
  15. List<IType> Parameters { get; }
  16. int GenericParameterCount { get; }
  17. bool IsGenericInstance { get; }
  18. bool IsConstructor { get; }
  19. bool IsDelegateInvoke { get; }
  20. bool IsStatic { get; }
  21. IMethod MakeGenericMethod(IType[] genericArguments);
  22. bool IsExtend { get; }
  23. }
  24. }