Export (0) Print
Expand All

GenericTypeParameterBuilder.DeclaringMethod Property

Gets a MethodInfo that represents the declaring method, if the current GenericTypeParameterBuilder represents a type parameter of a generic method.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override MethodBase DeclaringMethod { get; }

Property Value

Type: System.Reflection.MethodBase
A MethodInfo that represents the declaring method, if the current GenericTypeParameterBuilder represents a type parameter of a generic method; otherwise, null.

If the DeclaringMethod property is not null, then the declaring method is a generic method definition and DeclaringMethod.IsGenericMethodDefinition is true.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft