Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.