Metalama//API Documentation/Aspect API/Metalama.​Framework.​Aspects/Compile­Time­Attribute
Open sandboxFocus

Class CompileTimeAttribute

Attribute that means that the target declaration (and all children declarations) can only be called from compile-time code and, therefore, not from run-time code. See RunTimeOrCompileTimeAttribute for declarations that can be called both from compile-time and run-time code.

Inheritance
CompileTimeAttribute
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
public sealed class CompileTimeAttribute : ScopeAttribute

Constructors

Name Description
CompileTimeAttribute()