Class
RavenCompilerPluginAttribute
class RavenCompilerPluginAttribute
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: RavenCompilerPluginAttribute.cs
Inheritance: Object → Attribute → RavenCompilerPluginAttribute
Marks an assembly as a Raven compiler plugin and optionally declares one of its exported macro types.
Constructors
2 items
RavenCompilerPluginAttribute()
Marks the assembly and authorizes fallback discovery of its Raven.CodeAnalysis.Macros.IMacroDefinition implementations.
RavenCompilerPluginAttribute(exportedType: Type)
Marks the assembly and declares an exported macro definition. Apply the attribute once for each macro exported by the assembly.
Properties
2 items
ExportedType: Type?
Gets the explicitly exported macro type, or when the assembly requested fallback discovery.
TypeId: object
When implemented in a derived class, gets a unique identifier for this System.Attribute.
Inherited from Attribute.TypeId
Methods
6 items
Equals(obj: object?) -> bool
Returns a value that indicates whether this instance is equal to a specified object.
Inherited from Attribute.Equals
GetHashCode() -> int
Returns the hash code for this instance.
Inherited from Attribute.GetHashCode
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
IsDefaultAttribute() -> bool
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
Inherited from Attribute.IsDefaultAttribute
Match(obj: object?) -> bool
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
Inherited from Attribute.Match
ToString() -> string?
Returns a string that represents the current object.
Inherited from Object.ToString