[]
        
(Showing Draft Content)

C1.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute

RequiresDynamicCodeAttribute Class

Indicates that the specified method requires the ability to generate new code at runtime, for example through System.Reflection.

Inheritance
RequiresDynamicCodeAttribute
Namespace: C1.Diagnostics.CodeAnalysis
Assembly: C1.DataCollection.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Constructor|AttributeTargets.Method, Inherited = false)]
public sealed class RequiresDynamicCodeAttribute : Attribute
<AttributeUsage(AttributeTargets.ClassOrAttributeTargets.ConstructorOrAttributeTargets.Method, Inherited:=False)>
Public NotInheritable Class RequiresDynamicCodeAttribute
    Inherits Attribute

Constructors

Name Description
RequiresDynamicCodeAttribute(string)

Initializes a new instance of the System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute class with the specified message.

Properties

Name Description
Message

Gets a message that contains information about the usage of dynamic code.

Url

Gets or sets an optional URL that contains more information about the method, why it requires dynamic code, and what options a consumer has to deal with it.