1 <Type Name="MethodBase" FullName="System.Reflection.MethodBase" FullNameSP="System_Reflection_MethodBase" Maintainer="ecma">
2 <TypeSignature Language="ILASM" Value=".class public abstract serializable MethodBase extends System.Reflection.MemberInfo" />
3 <TypeSignature Language="C#" Value="public abstract class MethodBase : System.Reflection.MemberInfo, System.Runtime.InteropServices._MethodBase" />
4 <MemberOfLibrary>Reflection</MemberOfLibrary>
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
8 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9 <AssemblyVersion>2.0.0.0</AssemblyVersion>
10 <AssemblyVersion>4.0.0.0</AssemblyVersion>
12 <ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
14 <BaseTypeName>System.Reflection.MemberInfo</BaseTypeName>
18 <InterfaceName>System.Runtime.InteropServices._MethodBase</InterfaceName>
23 <AttributeName>System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)</AttributeName>
26 <AttributeName>System.Runtime.InteropServices.ComDefaultInterface(typeof(System.Runtime.InteropServices._MethodBase))</AttributeName>
29 <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
34 <para>Provides information about methods and constructors.</para>
37 <block subset="none" type="note">
39 <see langword="MethodBase " />is used
40 to represent method types.</para>
41 <para>The Base Class Library includes the following derived
46 <see cref="T:System.Reflection.MethodInfo" />
51 <see cref="T:System.Reflection.ConstructorInfo" />
59 <Member MemberName=".ctor">
60 <MemberSignature Language="ILASM" Value="family rtspecialname specialname instance void .ctor()" />
61 <MemberSignature Language="C#" Value="protected MethodBase ();" />
62 <MemberType>Constructor</MemberType>
67 <para>Constructs a new instance of the <see cref="T:System.Reflection.MethodBase" />
70 <remarks>To be added.</remarks>
72 <Excluded>0</Excluded>
74 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
75 <AssemblyVersion>2.0.0.0</AssemblyVersion>
76 <AssemblyVersion>4.0.0.0</AssemblyVersion>
79 <Member MemberName="Attributes">
80 <MemberSignature Language="ILASM" Value=".property valuetype System.Reflection.MethodAttributes Attributes { public hidebysig virtual abstract specialname valuetype System.Reflection.MethodAttributes get_Attributes() }" />
81 <MemberSignature Language="C#" Value="public abstract System.Reflection.MethodAttributes Attributes { get; }" />
82 <MemberType>Property</MemberType>
84 <ReturnType>System.Reflection.MethodAttributes</ReturnType>
89 <para>Gets the attributes of the method reflected by the
90 current instance.</para>
93 <para>A <see cref="T:System.Reflection.MethodAttributes" /> value that signifies the attributes of
94 the method reflected by the current instance.</para>
97 <block subset="none" type="behaviors">
98 <para>This property is read-only.</para>
100 gets a <see cref="T:System.Reflection.MethodAttributes" /> value that
101 indicates the attributes set in the metadata of the method reflected by the
102 current instance.</para>
105 <block subset="none" type="usage">Use this property
106 to determine the accessibility, layout, and semantics of the constructor
107 or method reflected by the current instance. Also use this property to
108 determine if the member reflected by the current instance is implemented in
109 native code or has a special name.</block>
113 <para> The following example demonstrates using this property to
114 obtain the attributes of three methods.</para>
115 <code lang="C#">using System;
116 using System.Reflection;
118 abstract class MyBaseClass
121 abstract public void MyPublicInstanceMethod();
125 class MyDerivedClass : MyBaseClass
128 public override void MyPublicInstanceMethod() {}
129 private static void MyPrivateStaticMethod() {}
133 class MethodAttributesExample
136 static void PrintMethodAttributes(Type t)
140 MethodInfo[] miAry = t.GetMethods( BindingFlags.Static |
141 BindingFlags.Instance | BindingFlags.Public |
142 BindingFlags.NonPublic | BindingFlags.DeclaredOnly );
143 foreach (MethodInfo mi in miAry)
146 Console.WriteLine("Method {0} is: ", mi.Name);
147 str = ((mi.Attributes & MethodAttributes.Static) != 0) ?
148 "Static" : "Instance";
149 Console.Write(str + " ");
150 str = ((mi.Attributes & MethodAttributes.Public) != 0) ?
151 "Public" : "Not-Public";
152 Console.Write(str + " ");
153 str = ((mi.Attributes & MethodAttributes.HideBySig) != 0) ?
154 "HideBySig" : "Hide-by-name";
155 Console.Write(str + " ");
156 str = ((mi.Attributes & MethodAttributes.Abstract) != 0) ?
157 "Abstract" : String.Empty;
158 Console.WriteLine(str);
164 public static void Main()
167 PrintMethodAttributes(typeof(MyBaseClass));
168 PrintMethodAttributes(typeof(MyDerivedClass));
174 <para>The output is</para>
176 <para>Method MyPublicInstanceMethod is:</para>
177 <para>Instance Public HideBySig Abstract</para>
178 <para>Method MyPublicInstanceMethod is:</para>
179 <para>Instance Public HideBySig</para>
180 <para>Method MyPrivateStaticMethod is:</para>
181 <para>Static Not-Public HideBySig</para>
185 <Excluded>0</Excluded>
187 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
188 <AssemblyVersion>2.0.0.0</AssemblyVersion>
189 <AssemblyVersion>4.0.0.0</AssemblyVersion>
192 <Member MemberName="CallingConvention">
193 <MemberSignature Language="C#" Value="public virtual System.Reflection.CallingConventions CallingConvention { get; }" />
194 <MemberType>Property</MemberType>
196 <ReturnType>System.Reflection.CallingConventions</ReturnType>
199 <summary>To be added.</summary>
200 <value>To be added.</value>
201 <remarks>To be added.</remarks>
204 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
205 <AssemblyVersion>2.0.0.0</AssemblyVersion>
206 <AssemblyVersion>4.0.0.0</AssemblyVersion>
209 <Member MemberName="ContainsGenericParameters">
210 <MemberSignature Language="C#" Value="public virtual bool ContainsGenericParameters { get; }" />
211 <MemberType>Property</MemberType>
213 <ReturnType>System.Boolean</ReturnType>
217 <para>Gets a value that indicates whether a generic method contains unassigned generic type parameters.</para>
221 <see langword="true" /> if the current method contains unassigned generic type parameters; otherwise <see langword="false" />.</para>
224 <para>The default behavior, when not overridden in a derived class, is to return <see langword="false" />. In other words, by default, derived classes do not support generics.</para>
225 <para>In order to invoke a generic method, there must be no generic type definitions or open constructed types in the type arguments of the method itself, or in any enclosing types. If the <see cref="P:System.Reflection.MethodBase.ContainsGenericParameters " /> property returns <see langword="true" />, the method cannot be invoked.</para>
226 <para>The <see cref="P:System.Reflection.MethodBase.ContainsGenericParameters" /> property searches recursively for type parameters. For example, it returns <see langword="true" /> for any method in an open type <see langword="A<T>" />, even though the method itself is not generic. Contrast this with the behavior of the <see cref="P:System.Reflection.MethodBase.IsGenericMethod" /> property, which returns <see langword="false" /> for such a method.</para>
227 <para>For a list of the invariant conditions for terms specific to generic methods, see the <see cref="P:System.Reflection.MethodInfo.IsGenericMethod" /> property. For a list of the invariant conditions for other terms used in generic reflection, see the <see cref="P:System.Type.IsGenericType" /> property.</para>
228 <block subset="none" type="behaviors">
229 <para>This property is read-only.</para>
232 <since version=".NET 2.0" />
235 <AssemblyVersion>2.0.0.0</AssemblyVersion>
236 <AssemblyVersion>4.0.0.0</AssemblyVersion>
239 <Member MemberName="Equals">
240 <MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
241 <MemberType>Method</MemberType>
243 <AssemblyVersion>4.0.0.0</AssemblyVersion>
246 <ReturnType>System.Boolean</ReturnType>
249 <Parameter Name="obj" Type="System.Object" />
252 <param name="obj">To be added.</param>
253 <summary>To be added.</summary>
254 <returns>To be added.</returns>
255 <remarks>To be added.</remarks>
258 <Member MemberName="GetCurrentMethod">
259 <MemberSignature Language="C#" Value="public static System.Reflection.MethodBase GetCurrentMethod ();" />
260 <MemberType>Method</MemberType>
262 <ReturnType>System.Reflection.MethodBase</ReturnType>
266 <summary>To be added.</summary>
267 <returns>To be added.</returns>
268 <remarks>To be added.</remarks>
271 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
272 <AssemblyVersion>2.0.0.0</AssemblyVersion>
273 <AssemblyVersion>4.0.0.0</AssemblyVersion>
276 <Member MemberName="GetGenericArguments">
277 <MemberSignature Language="C#" Value="public virtual Type[] GetGenericArguments ();" />
278 <MemberType>Method</MemberType>
280 <ReturnType>System.Type[]</ReturnType>
285 <para>Returns an array of <see cref="T:System.Type" /> objects that represent the type arguments of a generic method or the type parameters of a generic method definition.</para>
288 <para>An array of <see cref="T:System.Type" /> objects that represent the type arguments of a generic method or the type parameters of a generic method definition. Returns an empty array if the current method is not a generic method.</para>
291 <para>The default behavior, when not overridden in a derived class, is to throw <see cref="T:System.NotSupportedException" />. In other words, derived classes do not support generics by default.</para>
292 <para>The elements of the returned array are in the order in which they appear in the list of type parameters for the generic method.</para>
296 <para>If the current method is a closed constructed method (that is, the <see cref="P:System.Reflection.MethodBase.ContainsGenericParameters" /> property returns <see langword="false" />), the array returned by the <see cref="M:System.Reflection.MethodBase.GetGenericArguments" /> method contains the types that have been assigned to the generic type parameters of the generic method definition.</para>
301 <para>If the current method is a generic method definition, the array contains the type parameters. </para>
306 <para>If the current method is an open constructed method (that is, the <see cref="P:System.Reflection.MethodBase.ContainsGenericParameters" /> property returns <see langword="true" />) in which specific types have been assigned to some type parameters and type parameters of enclosing generic types have been assigned to other type parameters, the array contains both types and type parameters. Use the <see cref="P:System.Type.IsGenericParameter" /> property to tell them apart.</para>
310 <para>For a list of the invariant conditions for terms specific to generic methods, see the <see cref="P:System.Reflection.MethodInfo.IsGenericMethod" /> property. For a list of the invariant conditions for other terms used in generic reflection, see the <see cref="P:System.Type.IsGenericType" /> property.</para>
312 <since version=".NET 2.0" />
313 <exception cref="T:System.NotSupportedException">
314 <para>Default behavior when not overridden in a derived class.</para>
318 <AssemblyVersion>2.0.0.0</AssemblyVersion>
319 <AssemblyVersion>4.0.0.0</AssemblyVersion>
323 <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
327 <Member MemberName="GetHashCode">
328 <MemberSignature Language="C#" Value="public override int GetHashCode ();" />
329 <MemberType>Method</MemberType>
331 <AssemblyVersion>4.0.0.0</AssemblyVersion>
334 <ReturnType>System.Int32</ReturnType>
338 <summary>To be added.</summary>
339 <returns>To be added.</returns>
340 <remarks>To be added.</remarks>
343 <Member MemberName="GetMethodBody">
344 <MemberSignature Language="C#" Value="public virtual System.Reflection.MethodBody GetMethodBody ();" />
345 <MemberType>Method</MemberType>
347 <ReturnType>System.Reflection.MethodBody</ReturnType>
351 <summary>To be added.</summary>
352 <returns>To be added.</returns>
353 <remarks>To be added.</remarks>
354 <since version=".NET 2.0" />
357 <AssemblyVersion>2.0.0.0</AssemblyVersion>
358 <AssemblyVersion>4.0.0.0</AssemblyVersion>
361 <Member MemberName="GetMethodFromHandle">
362 <MemberSignature Language="ILASM" Value=".method public hidebysig static class System.Reflection.MethodBase GetMethodFromHandle(valuetype System.RuntimeMethodHandle handle)" />
363 <MemberSignature Language="C#" Value="public static System.Reflection.MethodBase GetMethodFromHandle (RuntimeMethodHandle handle);" />
364 <MemberType>Method</MemberType>
366 <ReturnType>System.Reflection.MethodBase</ReturnType>
369 <Parameter Name="handle" Type="System.RuntimeMethodHandle" />
372 <param name="handle">The method's <see cref="T:System.RuntimeMethodHandle" /> handle.</param>
374 <para>Gets method information by using the method's internal
375 metadata representation (handle).</para>
378 <para>A <see cref="T:System.Reflection.MethodBase" /> object containing information about the method.</para>
381 <para>The handles are valid only in the application domain in which they were obtained.</para>
384 <Excluded>1</Excluded>
385 <ExcludedLibrary>RuntimeInfrastructure</ExcludedLibrary>
387 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
388 <AssemblyVersion>2.0.0.0</AssemblyVersion>
389 <AssemblyVersion>4.0.0.0</AssemblyVersion>
392 <Member MemberName="GetMethodFromHandle">
393 <MemberSignature Language="C#" Value="public static System.Reflection.MethodBase GetMethodFromHandle (RuntimeMethodHandle handle, RuntimeTypeHandle declaringType);" />
394 <MemberType>Method</MemberType>
396 <ReturnType>System.Reflection.MethodBase</ReturnType>
399 <Parameter Name="handle" Type="System.RuntimeMethodHandle" />
400 <Parameter Name="declaringType" Type="System.RuntimeTypeHandle" />
403 <param name="handle">To be added.</param>
404 <param name="declaringType">To be added.</param>
405 <summary>To be added.</summary>
406 <returns>To be added.</returns>
407 <remarks>To be added.</remarks>
408 <since version=".NET 2.0" />
411 <AssemblyVersion>2.0.0.0</AssemblyVersion>
412 <AssemblyVersion>4.0.0.0</AssemblyVersion>
416 <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
420 <Member MemberName="GetMethodImplementationFlags">
421 <MemberSignature Language="C#" Value="public abstract System.Reflection.MethodImplAttributes GetMethodImplementationFlags ();" />
422 <MemberType>Method</MemberType>
424 <ReturnType>System.Reflection.MethodImplAttributes</ReturnType>
428 <summary>To be added.</summary>
429 <returns>To be added.</returns>
430 <remarks>To be added.</remarks>
433 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
434 <AssemblyVersion>2.0.0.0</AssemblyVersion>
435 <AssemblyVersion>4.0.0.0</AssemblyVersion>
438 <Member MemberName="GetParameters">
439 <MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract class System.Reflection.ParameterInfo[] GetParameters()" />
440 <MemberSignature Language="C#" Value="public abstract System.Reflection.ParameterInfo[] GetParameters ();" />
441 <MemberType>Method</MemberType>
443 <ReturnType>System.Reflection.ParameterInfo[]</ReturnType>
448 <para> Returns the parameters of the method or
449 constructor reflected by the current instance.</para>
452 <para> An array of <see cref="T:System.Reflection.ParameterInfo" /> objects that
453 contain information that matches the signature of the method or constructor
454 reflected by the current
459 <block subset="none" type="behaviors">As described above.</block>
463 <Excluded>0</Excluded>
465 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
466 <AssemblyVersion>2.0.0.0</AssemblyVersion>
467 <AssemblyVersion>4.0.0.0</AssemblyVersion>
470 <Member MemberName="GetType">
471 <MemberSignature Language="C#" Value="public Type GetType ();" />
472 <MemberType>Method</MemberType>
474 <ReturnType>System.Type</ReturnType>
478 <summary>To be added.</summary>
479 <returns>To be added.</returns>
480 <remarks>To be added.</remarks>
483 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
486 <Member MemberName="Invoke">
487 <MemberSignature Language="ILASM" Value=".method public hidebysig instance object Invoke(object obj, class System.Object[] parameters)" />
488 <MemberSignature Language="C#" Value="public object Invoke (object obj, object[] parameters);" />
489 <MemberType>Method</MemberType>
491 <ReturnType>System.Object</ReturnType>
494 <Parameter Name="obj" Type="System.Object" />
495 <Parameter Name="parameters" Type="System.Object[]" />
498 <param name="obj">An instance of a type that contains the constructor or method reflected by the current instance. If the member is static, <paramref name="obj" /> is ignored. For non-static methods, <paramref name="obj" /> is an instance of a class that inherits or declares the method.</param>
499 <param name="parameters">
500 <para>An array objects that match the number, order and type of the parameters for the constructor or method reflected by the current instance. If the member reflected by the current instance takes no parameters, specify either an array with zero elements or <see langword="null" /> . <block subset="none" type="note">Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is <see langword="null" />. For value-type elements, this value is 0, 0.0, or <see langword="false" />, depending on the specific element type. If the method or constructor reflected by the current instance is <see langword="static" /> , this parameter is ignored.</block></para>
502 <param name="parameters">To be added.</param>
504 <para> Invokes the method or constructor reflected by the current instance
505 on the specified object and using the specified arguments.</para>
508 <para> A <see cref="T:System.Object" /> that contains the return
509 value of the invoked method, or a re-initialized object if a constructor was invoked.</para>
512 <para>This version of <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" /> is equivalent to <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" />(<paramref name="obj" />,
513 (<see langword="BindingFlags" />)0, <see langword="null" />, <paramref name="parameters" />,
514 <see langword="null" />).</para>
515 <para>Optional parameters cannot be omitted in calls to <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" /> .</para>
517 <exception cref="T:System.ArgumentException">The types of the elements of <paramref name="parameters" /> do not match the types of the parameters accepted by the constructor or method reflected by the current instance, under the constraints of the default binder.</exception>
518 <exception cref="T:System.Reflection.TargetException">The constructor or method reflected by the current instance is non-static and <paramref name="obj" /> is <see langword="null" />, or is of a type that does not implement the member reflected by the current instance.</exception>
519 <exception cref="T:System.Reflection.TargetInvocationException">The constructor or method reflected by the current instance threw an exception.</exception>
520 <exception cref="T:System.Reflection.TargetParameterCountException">
521 <paramref name="parameters" />.Length does not equal the number of parameters required by the contract of the member reflected by the current instance.</exception>
522 <permission cref="T:System.Security.Permissions.ReflectionPermission">Requires permission to invoke non-public members of loaded assemblies. See <see cref="F:System.Security.Permissions.ReflectionPermissionFlag.MemberAccess" />.</permission>
523 <exception cref="T:System.MemberAccessException">The caller does not have permission to execute the method or constructor.</exception>
524 <exception cref="T:System.InvalidOperationException">The type that declares the method is an open generic type. That is, <see cref="P:System.Type.ContainsGenericParameters" /> returns <see langword="true" /> for the declaring type.</exception>
526 <Excluded>0</Excluded>
528 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
529 <AssemblyVersion>2.0.0.0</AssemblyVersion>
530 <AssemblyVersion>4.0.0.0</AssemblyVersion>
534 <AttributeName>System.Diagnostics.DebuggerStepThrough</AttributeName>
538 <Member MemberName="Invoke">
539 <MemberSignature Language="ILASM" Value=".method public hidebysig virtual abstract object Invoke(object obj, valuetype System.Reflection.BindingFlags invokeAttr, class System.Reflection.Binder binder, class System.Object[] parameters, class System.Globalization.CultureInfo culture)" />
540 <MemberSignature Language="C#" Value="public abstract object Invoke (object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture);" />
541 <MemberType>Method</MemberType>
543 <ReturnType>System.Object</ReturnType>
546 <Parameter Name="obj" Type="System.Object" />
547 <Parameter Name="invokeAttr" Type="System.Reflection.BindingFlags" />
548 <Parameter Name="binder" Type="System.Reflection.Binder" />
549 <Parameter Name="parameters" Type="System.Object[]" />
550 <Parameter Name="culture" Type="System.Globalization.CultureInfo" />
553 <param name="obj">An instance of the type that contains the method reflected by the current instance. If the method is static, <paramref name="obj" /> is ignored. For non-static methods, <paramref name="obj" /> is an instance of a class that inherits or declares the method. </param>
554 <param name="invokeAttr">A <see cref="T:System.Reflection.BindingFlags" /> value that controls the binding process.</param>
555 <param name="binder">An object that enables the binding, coercion of argument types, invocation of members, and retrieval of <see langword="MemberInfo" /> objects via reflection. If <paramref name="binder" /> is <see langword="null" /> , the default binder is used.</param>
556 <param name="parameters">
557 <para>An array of objects that match the number, order and type of the parameters for the constructor or method reflected by the current instance. If the member reflected by the current instance takes no parameters, specify either an array with zero elements or <see langword="null" /> . <block subset="none" type="note">Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is <see langword="null" />. For value-type elements, this value is 0, 0.0, or <see langword="false" />, depending on the specific element type. If the method or constructor reflected by the current instance is <see langword="static" /> , this parameter is ignored.</block></para>
559 <param name="culture">
560 <para>The only defined value for this parameter is <see langword="null" /> .</para>
562 <param name="invokeAttr">To be added.</param>
563 <param name="binder">To be added.</param>
564 <param name="parameters">To be added.</param>
565 <param name="culture">To be added.</param>
567 <para>Invokes the method or constructor reflected by the current instance as
568 determined by the specified arguments.</para>
571 <para>A <see cref="T:System.Object" /> that
572 contains the return value of the invoked method, or a re-initialized object if a
573 constructor was invoked.</para>
576 <para>Optional parameters can not be omitted in calls to
577 <see cref="M:System.Reflection.MethodBase.Invoke(System.Object,System.Object[])" />
580 <exception cref="T:System.ArgumentException">The types of the elements of <paramref name="parameters" /> do not match the types of the parameters accepted by the constructor or method reflected by the current instance, under the constraints of the default binder.</exception>
581 <exception cref="T:System.Reflection.TargetException">The constructor or method reflected by the current instance is non-static, and <paramref name="obj" /> is <see langword="null" /> or is of a type that does not implement the member reflected by the current instance.</exception>
582 <exception cref="T:System.Reflection.TargetInvocationException">The method reflected by the current instance threw an exception.</exception>
583 <exception cref="T:System.Reflection.TargetParameterCountException">
584 <paramref name="parameters" />.Length does not equal the number of parameters required by the contract of the constructor or method reflected by the current instance.</exception>
585 <permission cref="T:System.Security.Permissions.ReflectionPermission">Requires permission to invoke non-public members of loaded assemblies. See <see cref="F:System.Security.Permissions.ReflectionPermissionFlag.MemberAccess" />.</permission>
586 <exception cref="T:System.MemberAccessException">The caller does not have permission to execute the method or constructor.</exception>
587 <exception cref="T:System.InvalidOperationException">The type that declares the method is an open generic type. That is, <see cref="P:System.Type.ContainsGenericParameters" /> returns <see langword="true" /> for the declaring type.</exception>
589 <Excluded>0</Excluded>
591 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
592 <AssemblyVersion>2.0.0.0</AssemblyVersion>
593 <AssemblyVersion>4.0.0.0</AssemblyVersion>
596 <Member MemberName="IsAbstract">
597 <MemberSignature Language="C#" Value="public bool IsAbstract { get; }" />
598 <MemberType>Property</MemberType>
600 <ReturnType>System.Boolean</ReturnType>
603 <summary>To be added.</summary>
604 <value>To be added.</value>
605 <remarks>To be added.</remarks>
608 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
609 <AssemblyVersion>2.0.0.0</AssemblyVersion>
610 <AssemblyVersion>4.0.0.0</AssemblyVersion>
613 <Member MemberName="IsAssembly">
614 <MemberSignature Language="C#" Value="public bool IsAssembly { get; }" />
615 <MemberType>Property</MemberType>
617 <ReturnType>System.Boolean</ReturnType>
620 <summary>To be added.</summary>
621 <value>To be added.</value>
622 <remarks>To be added.</remarks>
625 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
626 <AssemblyVersion>2.0.0.0</AssemblyVersion>
627 <AssemblyVersion>4.0.0.0</AssemblyVersion>
630 <Member MemberName="IsConstructor">
631 <MemberSignature Language="C#" Value="public bool IsConstructor { get; }" />
632 <MemberType>Property</MemberType>
634 <ReturnType>System.Boolean</ReturnType>
637 <summary>To be added.</summary>
638 <value>To be added.</value>
639 <remarks>To be added.</remarks>
643 <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
647 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
648 <AssemblyVersion>2.0.0.0</AssemblyVersion>
649 <AssemblyVersion>4.0.0.0</AssemblyVersion>
652 <Member MemberName="IsFamily">
653 <MemberSignature Language="C#" Value="public bool IsFamily { get; }" />
654 <MemberType>Property</MemberType>
656 <ReturnType>System.Boolean</ReturnType>
659 <summary>To be added.</summary>
660 <value>To be added.</value>
661 <remarks>To be added.</remarks>
664 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
665 <AssemblyVersion>2.0.0.0</AssemblyVersion>
666 <AssemblyVersion>4.0.0.0</AssemblyVersion>
669 <Member MemberName="IsFamilyAndAssembly">
670 <MemberSignature Language="C#" Value="public bool IsFamilyAndAssembly { get; }" />
671 <MemberType>Property</MemberType>
673 <ReturnType>System.Boolean</ReturnType>
676 <summary>To be added.</summary>
677 <value>To be added.</value>
678 <remarks>To be added.</remarks>
681 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
682 <AssemblyVersion>2.0.0.0</AssemblyVersion>
683 <AssemblyVersion>4.0.0.0</AssemblyVersion>
686 <Member MemberName="IsFamilyOrAssembly">
687 <MemberSignature Language="C#" Value="public bool IsFamilyOrAssembly { get; }" />
688 <MemberType>Property</MemberType>
690 <ReturnType>System.Boolean</ReturnType>
693 <summary>To be added.</summary>
694 <value>To be added.</value>
695 <remarks>To be added.</remarks>
698 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
699 <AssemblyVersion>2.0.0.0</AssemblyVersion>
700 <AssemblyVersion>4.0.0.0</AssemblyVersion>
703 <Member MemberName="IsFinal">
704 <MemberSignature Language="C#" Value="public bool IsFinal { get; }" />
705 <MemberType>Property</MemberType>
707 <ReturnType>System.Boolean</ReturnType>
710 <summary>To be added.</summary>
711 <value>To be added.</value>
712 <remarks>To be added.</remarks>
715 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
716 <AssemblyVersion>2.0.0.0</AssemblyVersion>
717 <AssemblyVersion>4.0.0.0</AssemblyVersion>
720 <Member MemberName="IsGenericMethod">
721 <MemberSignature Language="C#" Value="public virtual bool IsGenericMethod { get; }" />
722 <MemberType>Property</MemberType>
724 <ReturnType>System.Boolean</ReturnType>
728 <para>Gets a value that indicates whether the current object is a generic method.</para>
731 <see langword="true" /> if the current object is a generic method; otherwise <see langword="false" />.</value>
733 <para>The default behavior, when not overridden in a derived class, is to return <see langword="false" />. In other words, by default, derived classes do not support generics.</para>
734 <para>Use this property to determine whether the current <see cref="T:System.Reflection.MethodBase" /> object represents a generic method. Use the <see cref="P:System.Reflection.MethodBase.ContainsGenericParameters" /> property to determine whether the current <see cref="T:System.Reflection.MethodBase" /> object represents an open constructed method or a closed constructed method.</para>
735 <para>For a list of the invariant conditions for terms specific to generic methods, see the <see cref="P:System.Reflection.MethodInfo.IsGenericMethod" /> property. For a list of the invariant conditions for other terms used in generic reflection, see the <see cref="P:System.Type.IsGenericType" /> property.</para>
736 <block subset="none" type="behaviors">
737 <para>This property is read-only.</para>
740 <since version=".NET 2.0" />
743 <AssemblyVersion>2.0.0.0</AssemblyVersion>
744 <AssemblyVersion>4.0.0.0</AssemblyVersion>
747 <Member MemberName="IsGenericMethodDefinition">
748 <MemberSignature Language="C#" Value="public virtual bool IsGenericMethodDefinition { get; }" />
749 <MemberType>Property</MemberType>
751 <ReturnType>System.Boolean</ReturnType>
755 <para>Gets a value that indicates whether the current <see cref="System.Reflection.MethodBase" /> represents a definition of a generic method.</para>
758 <see langword="true" /> if the current <see cref="T:System.Reflection.MethodBase" /> object represents the definition of a generic method; otherwise <see langword="false" />.</value>
760 <para>The default behavior, when not overridden in a derived class, is to return <see langword="false" />. In other words, by default, derived classes do not support generics.</para>
761 <para>If the current <see cref="T:System.Reflection.MethodBase" /> represents a generic method definition, then:</para>
766 <see cref="M:System.Reflection.MethodBase.IsGenericMethodDefinition" /> returns <see langword="true" />.</para>
771 <para>For each <see cref="T:System.Type" /> object in the array returned by the <see cref="System.Reflection.MethodBase.GetGenericArguments" /> method: The <see cref="P:System.Type.IsGenericParameter" /> property returns <see langword="true" />; the <see cref="P:System.Type.DeclaringMethod" /> returns the current instance; and the <see cref="P:System.Type.GenericParameterPosition" /> property is the same as the position of the <see cref="T:System.Type" /> object in the array.</para>
775 <para>For a list of the invariant conditions for terms specific to generic methods, see the <see cref="P:System.Reflection.MethodInfo.IsGenericMethod" /> property. For a list of the invariant conditions for other terms used in generic reflection, see the <see cref="P:System.Type.IsGenericType" /> property.</para>
776 <block subset="none" type="behaviors">
777 <para>This property is read-only.</para>
780 <since version=".NET 2.0" />
783 <AssemblyVersion>2.0.0.0</AssemblyVersion>
784 <AssemblyVersion>4.0.0.0</AssemblyVersion>
787 <Member MemberName="IsHideBySig">
788 <MemberSignature Language="C#" Value="public bool IsHideBySig { get; }" />
789 <MemberType>Property</MemberType>
791 <ReturnType>System.Boolean</ReturnType>
794 <summary>To be added.</summary>
795 <value>To be added.</value>
796 <remarks>To be added.</remarks>
799 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
800 <AssemblyVersion>2.0.0.0</AssemblyVersion>
801 <AssemblyVersion>4.0.0.0</AssemblyVersion>
804 <Member MemberName="IsPrivate">
805 <MemberSignature Language="C#" Value="public bool IsPrivate { get; }" />
806 <MemberType>Property</MemberType>
808 <ReturnType>System.Boolean</ReturnType>
811 <summary>To be added.</summary>
812 <value>To be added.</value>
813 <remarks>To be added.</remarks>
816 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
817 <AssemblyVersion>2.0.0.0</AssemblyVersion>
818 <AssemblyVersion>4.0.0.0</AssemblyVersion>
821 <Member MemberName="IsPublic">
822 <MemberSignature Language="C#" Value="public bool IsPublic { get; }" />
823 <MemberType>Property</MemberType>
825 <ReturnType>System.Boolean</ReturnType>
828 <summary>To be added.</summary>
829 <value>To be added.</value>
830 <remarks>To be added.</remarks>
833 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
834 <AssemblyVersion>2.0.0.0</AssemblyVersion>
835 <AssemblyVersion>4.0.0.0</AssemblyVersion>
838 <Member MemberName="IsSpecialName">
839 <MemberSignature Language="C#" Value="public bool IsSpecialName { get; }" />
840 <MemberType>Property</MemberType>
842 <ReturnType>System.Boolean</ReturnType>
845 <summary>To be added.</summary>
846 <value>To be added.</value>
847 <remarks>To be added.</remarks>
850 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
851 <AssemblyVersion>2.0.0.0</AssemblyVersion>
852 <AssemblyVersion>4.0.0.0</AssemblyVersion>
855 <Member MemberName="IsStatic">
856 <MemberSignature Language="C#" Value="public bool IsStatic { get; }" />
857 <MemberType>Property</MemberType>
859 <ReturnType>System.Boolean</ReturnType>
862 <summary>To be added.</summary>
863 <value>To be added.</value>
864 <remarks>To be added.</remarks>
867 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
868 <AssemblyVersion>2.0.0.0</AssemblyVersion>
869 <AssemblyVersion>4.0.0.0</AssemblyVersion>
872 <Member MemberName="IsVirtual">
873 <MemberSignature Language="C#" Value="public bool IsVirtual { get; }" />
874 <MemberType>Property</MemberType>
876 <ReturnType>System.Boolean</ReturnType>
879 <summary>To be added.</summary>
880 <value>To be added.</value>
881 <remarks>To be added.</remarks>
884 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
885 <AssemblyVersion>2.0.0.0</AssemblyVersion>
886 <AssemblyVersion>4.0.0.0</AssemblyVersion>
889 <Member MemberName="MethodHandle">
890 <MemberSignature Language="C#" Value="public abstract RuntimeMethodHandle MethodHandle { get; }" />
891 <MemberType>Property</MemberType>
893 <ReturnType>System.RuntimeMethodHandle</ReturnType>
896 <summary>To be added.</summary>
897 <value>To be added.</value>
898 <remarks>To be added.</remarks>
901 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
902 <AssemblyVersion>2.0.0.0</AssemblyVersion>
903 <AssemblyVersion>4.0.0.0</AssemblyVersion>
906 <Member MemberName="op_Equality">
907 <MemberSignature Language="C#" Value="public static bool op_Equality (System.Reflection.MethodBase left, System.Reflection.MethodBase right);" />
908 <MemberType>Method</MemberType>
910 <AssemblyVersion>4.0.0.0</AssemblyVersion>
913 <ReturnType>System.Boolean</ReturnType>
916 <Parameter Name="left" Type="System.Reflection.MethodBase" />
917 <Parameter Name="right" Type="System.Reflection.MethodBase" />
920 <param name="left">To be added.</param>
921 <param name="right">To be added.</param>
922 <summary>To be added.</summary>
923 <returns>To be added.</returns>
924 <remarks>To be added.</remarks>
927 <Member MemberName="op_Inequality">
928 <MemberSignature Language="C#" Value="public static bool op_Inequality (System.Reflection.MethodBase left, System.Reflection.MethodBase right);" />
929 <MemberType>Method</MemberType>
931 <AssemblyVersion>4.0.0.0</AssemblyVersion>
934 <ReturnType>System.Boolean</ReturnType>
937 <Parameter Name="left" Type="System.Reflection.MethodBase" />
938 <Parameter Name="right" Type="System.Reflection.MethodBase" />
941 <param name="left">To be added.</param>
942 <param name="right">To be added.</param>
943 <summary>To be added.</summary>
944 <returns>To be added.</returns>
945 <remarks>To be added.</remarks>
948 <Member MemberName="System.Runtime.InteropServices._MethodBase.GetIDsOfNames">
949 <MemberSignature Language="C#" Value="void _MethodBase.GetIDsOfNames (ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);" />
950 <MemberType>Method</MemberType>
952 <ReturnType>System.Void</ReturnType>
955 <Parameter Name="riid" Type="System.Guid&" RefType="ref" />
956 <Parameter Name="rgszNames" Type="System.IntPtr" />
957 <Parameter Name="cNames" Type="System.UInt32" />
958 <Parameter Name="lcid" Type="System.UInt32" />
959 <Parameter Name="rgDispId" Type="System.IntPtr" />
962 <param name="riid">To be added.</param>
963 <param name="rgszNames">To be added.</param>
964 <param name="cNames">To be added.</param>
965 <param name="lcid">To be added.</param>
966 <param name="rgDispId">To be added.</param>
967 <summary>To be added.</summary>
968 <remarks>To be added.</remarks>
971 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
972 <AssemblyVersion>2.0.0.0</AssemblyVersion>
973 <AssemblyVersion>4.0.0.0</AssemblyVersion>
976 <Member MemberName="System.Runtime.InteropServices._MethodBase.GetTypeInfo">
977 <MemberSignature Language="C#" Value="void _MethodBase.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);" />
978 <MemberType>Method</MemberType>
980 <ReturnType>System.Void</ReturnType>
983 <Parameter Name="iTInfo" Type="System.UInt32" />
984 <Parameter Name="lcid" Type="System.UInt32" />
985 <Parameter Name="ppTInfo" Type="System.IntPtr" />
988 <param name="iTInfo">To be added.</param>
989 <param name="lcid">To be added.</param>
990 <param name="ppTInfo">To be added.</param>
991 <summary>To be added.</summary>
992 <remarks>To be added.</remarks>
995 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
996 <AssemblyVersion>2.0.0.0</AssemblyVersion>
997 <AssemblyVersion>4.0.0.0</AssemblyVersion>
1000 <Member MemberName="System.Runtime.InteropServices._MethodBase.GetTypeInfoCount">
1001 <MemberSignature Language="C#" Value="void _MethodBase.GetTypeInfoCount (out uint pcTInfo);" />
1002 <MemberType>Method</MemberType>
1004 <ReturnType>System.Void</ReturnType>
1007 <Parameter Name="pcTInfo" Type="System.UInt32&" RefType="out" />
1010 <param name="pcTInfo">To be added.</param>
1011 <summary>To be added.</summary>
1012 <remarks>To be added.</remarks>
1015 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1016 <AssemblyVersion>2.0.0.0</AssemblyVersion>
1017 <AssemblyVersion>4.0.0.0</AssemblyVersion>
1020 <Member MemberName="System.Runtime.InteropServices._MethodBase.Invoke">
1021 <MemberSignature Language="C#" Value="void _MethodBase.Invoke (uint dispIdMember, ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);" />
1022 <MemberType>Method</MemberType>
1024 <ReturnType>System.Void</ReturnType>
1027 <Parameter Name="dispIdMember" Type="System.UInt32" />
1028 <Parameter Name="riid" Type="System.Guid&" RefType="ref" />
1029 <Parameter Name="lcid" Type="System.UInt32" />
1030 <Parameter Name="wFlags" Type="System.Int16" />
1031 <Parameter Name="pDispParams" Type="System.IntPtr" />
1032 <Parameter Name="pVarResult" Type="System.IntPtr" />
1033 <Parameter Name="pExcepInfo" Type="System.IntPtr" />
1034 <Parameter Name="puArgErr" Type="System.IntPtr" />
1037 <param name="dispIdMember">To be added.</param>
1038 <param name="riid">To be added.</param>
1039 <param name="lcid">To be added.</param>
1040 <param name="wFlags">To be added.</param>
1041 <param name="pDispParams">To be added.</param>
1042 <param name="pVarResult">To be added.</param>
1043 <param name="pExcepInfo">To be added.</param>
1044 <param name="puArgErr">To be added.</param>
1045 <summary>To be added.</summary>
1046 <remarks>To be added.</remarks>
1049 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1050 <AssemblyVersion>2.0.0.0</AssemblyVersion>
1051 <AssemblyVersion>4.0.0.0</AssemblyVersion>
1055 <TypeExcluded>0</TypeExcluded>