MethodBuilder.ContainsGenericParameters Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Not supported for this type.

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

Syntax

'Declaration
Public Overrides ReadOnly Property ContainsGenericParameters As Boolean
public override bool ContainsGenericParameters { get; }

Property Value

Type: System.Boolean
Not supported.

Exceptions

Exception Condition
NotSupportedException

The invoked method is not supported in the base class.

Remarks

A MethodBuilder always represents a generic method definition, and thus cannot be invoked.

For more information, see MethodInfo.IsGenericMethod and MethodInfo.ContainsGenericParameters. For information on generic types, see Type.IsGenericType.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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