_MethodBase.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. //
  2. // System.Runtime.InteropServices._MethodBase interface
  3. //
  4. // Author:
  5. // Kazuki Oikawa ([email protected])
  6. //
  7. using System;
  8. using System.Globalization;
  9. using System.Reflection;
  10. namespace System.Runtime.InteropServices
  11. {
  12. [CLSCompliant (false)]
  13. [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
  14. [Guid ("6240837A-707F-3181-8E98-A36AE086766B")]
  15. [TypeLibImportClass (typeof (MethodBase))]
  16. [ComVisible (true)]
  17. public interface _MethodBase
  18. {
  19. bool Equals (object other);
  20. object[] GetCustomAttributes (bool inherit);
  21. object[] GetCustomAttributes (Type attributeType, bool inherit);
  22. int GetHashCode ();
  23. MethodImplAttributes GetMethodImplementationFlags ();
  24. ParameterInfo[] GetParameters ();
  25. void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
  26. void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
  27. void GetTypeInfoCount (out uint pcTInfo);
  28. void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
  29. IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
  30. Type GetType ();
  31. object Invoke (object obj, object[] parameters);
  32. object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
  33. bool IsDefined(Type attributeType, bool inherit);
  34. string ToString ();
  35. MethodAttributes Attributes {get;}
  36. CallingConventions CallingConvention {get;}
  37. Type DeclaringType {get;}
  38. bool IsAbstract {get;}
  39. bool IsAssembly {get;}
  40. bool IsConstructor {get;}
  41. bool IsFamily {get;}
  42. bool IsFamilyAndAssembly {get;}
  43. bool IsFamilyOrAssembly {get;}
  44. bool IsFinal {get;}
  45. bool IsHideBySig {get;}
  46. bool IsPrivate {get;}
  47. bool IsPublic {get;}
  48. bool IsSpecialName {get;}
  49. bool IsStatic {get;}
  50. bool IsVirtual {get;}
  51. MemberTypes MemberType {get;}
  52. RuntimeMethodHandle MethodHandle {get;}
  53. string Name {get;}
  54. Type ReflectedType {get;}
  55. }
  56. }