Class ExternAttribute
An attribute that indicates that a method is implemented by calling into an external library.
Inheritance
System.Object
ExternAttribute
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public sealed class ExternAttribute : IAttribute
Constructors
| Improve this Doc View SourceExternAttribute()
Creates a new extern attribute.
Declaration
public ExternAttribute()
ExternAttribute(String)
Creates a new extern attribute.
Declaration
public ExternAttribute(string importName)
Parameters
Type | Name | Description |
---|---|---|
System.String | importName | The name of the imported function. |
Fields
| Improve this Doc View SourceAttributeType
The attribute type of extern attributes.
Declaration
public static readonly IType AttributeType
Field Value
Type | Description |
---|---|
IType | An attribute type. |
Properties
| Improve this Doc View SourceImportNameOrNull
Gets the name of the imported function, if any.
Declaration
public string ImportNameOrNull { get; }
Property Value
Type | Description |
---|---|
System.String | The imported name. |
Explicit Interface Implementations
| Improve this Doc View SourceIAttribute.AttributeType
Declaration
IType IAttribute.AttributeType { get; }
Returns
Type | Description |
---|---|
IType |