Mono Class Library: System.Reflection.MethodBase Overview | Members

System.Reflection.MethodBase.IsGenericMethodDefinition Property

Gets a value that indicates whether the current stem.Reflection.MethodBase represents a definition of a generic method.

public virtual bool IsGenericMethodDefinition { get; }

Value

true if the current System.Reflection.MethodBase object represents the definition of a generic method; otherwise false.

Remarks

The default behavior, when not overridden in a derived class, is to return false. In other words, by default, derived classes do not support generics.

If the current System.Reflection.MethodBase represents a generic method definition, then:

For a list of the invariant conditions for terms specific to generic methods, see the MethodInfo.IsGenericMethod property. For a list of the invariant conditions for other terms used in generic reflection, see the Type.IsGenericType property.

Operation

This property is read-only.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0