RuntimeFeaturesAttribute
Indicates that the code inside of method, type, module or assembly relies
on specific runtime features.
using System;
namespace DotNext.Runtime.CompilerServices
{
[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;
}
}