RuntimeFeaturesAttribute
Indicates that the code inside of method, type, module or assembly relies
on specific runtime features.
using System;
using System.Diagnostics;
namespace DotNext.Runtime.CompilerServices
{
[Conditional("DEBUG")]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class RuntimeFeaturesAttribute : Attribute
{
public bool DynamicCodeCompilation;
public bool RuntimeGenericInstantiation;
public bool PrivateReflection;
public bool Augmentation;
}
}