1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
|
<Type Name="MethodInfo" FullName="System.Reflection.MethodInfo" FullNameSP="System_Reflection_MethodInfo" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public abstract serializable MethodInfo extends System.Reflection.MethodBase" />
<TypeSignature Language="C#" Value="public abstract class MethodInfo : System.Reflection.MethodBase, System.Runtime.InteropServices._MethodInfo" />
<MemberOfLibrary>Reflection</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
</AssemblyInfo>
<ThreadingSafetyStatement>This type is safe for multithreaded operations. </ThreadingSafetyStatement>
<Docs>
<summary>
<para>Provides access to method metadata.</para>
</summary>
<permission cref="!:ReflectionPermission">Requires permission to reflect non-public members of a type in loaded assemblies. See <see cref="F:System.Security.Permissions.ReflectionPermissionFlag.TypeInformation" />.</permission>
<remarks>To be added.</remarks>
</Docs>
<Base>
<BaseTypeName>System.Reflection.MethodBase</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Runtime.InteropServices._MethodInfo</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)</AttributeName>
</Attribute>
</Attributes>
<Members>
<Member MemberName="GetBaseDefinition">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract class System.Reflection.MethodInfo GetBaseDefinition()" />
<MemberSignature Language="C#" Value="public abstract System.Reflection.MethodInfo GetBaseDefinition ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Reflection.MethodInfo</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Returns a new <see cref="T:System.Reflection.MethodInfo" /> instance that reflects the first definition
of the method reflected by the current instance in
the inheritance hierarchy of that method. </para>
</summary>
<returns>
<para>A new <see cref="T:System.Reflection.MethodInfo" /> instance that reflects the first definition
of the method reflected by the
current instance in the inheritance hierarchy of that method. </para>
</returns>
<remarks>
<block subset="none" type="behaviors">
<para>
<see cref="M:System.Reflection.MethodInfo.GetBaseDefinition" /> proceeds along the inheritance
hierarchy of the method reflected by the current instance, returning a <see cref="T:System.Reflection.MethodInfo" />
instance that reflects the first definition in the hierarchy of that
method.</para>
<para>The method declaration to be reflected by the
new <see cref="T:System.Reflection.MethodInfo" />
instance
is determined as follows:</para>
<list type="bullet">
<item>
<term>
If the method reflected by the current instance
overrides a virtual definition in the base class, the virtual definition is
reflected.</term>
</item>
<item>
<term>
If the method reflected
by the current instance is specified with the <see langword="new" /> keyword, the
current instance is returned.</term>
</item>
<item>
<term>
If the method reflected by the current instance is
not defined in the type of the object on which <see cref="M:System.Reflection.MethodInfo.GetBaseDefinition" /> is called, the method definition of the furthest ancestor in
the class hierarchy is reflected.</term>
</item>
</list>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="family rtspecialname specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="protected MethodInfo ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>
<para>Constructs a new instance of the <see cref="T:System.Reflection.MethodInfo" /> class.</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ReturnType">
<MemberSignature Language="ILASM" Value=".property class System.Type ReturnType { public hidebysig virtual abstract specialname class System.Type get_ReturnType() }" />
<MemberSignature Language="C#" Value="public abstract Type ReturnType { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets the type of the return value of the method reflected by the current
instance.</para>
</summary>
<value>
<para> The <see cref="T:System.Type" /> of the return
value of the method reflected by the current instance. This property is equal to
the <see cref="T:System.Type" />
object representing
<see cref="T:System.Void" /> if the
return value of the method is <see langword="void" />
.</para>
</value>
<remarks>
<para>
<block subset="none" type="behaviors">This property is
read-only.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ReturnTypeCustomAttributes">
<MemberSignature Language="C#" Value="public abstract System.Reflection.ICustomAttributeProvider ReturnTypeCustomAttributes { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Reflection.ICustomAttributeProvider</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetType">
<MemberSignature Language="C#" Value="public Type GetType ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member></Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|