Class ExceptionSpecificationAttribute
An attribute that attaches an exception specification to a method.
Inheritance
System.Object
ExceptionSpecificationAttribute
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 ExceptionSpecificationAttribute : IAttribute
Constructors
| Improve this Doc View SourceExceptionSpecificationAttribute(ExceptionSpecification)
Creates an exception specification attribute.
Declaration
public ExceptionSpecificationAttribute(ExceptionSpecification specification)
Parameters
Type | Name | Description |
---|---|---|
ExceptionSpecification | specification | An exception specification. |
Fields
| Improve this Doc View SourceAttributeType
The attribute type of exception specification attributes.
Declaration
public static readonly IType AttributeType
Field Value
Type | Description |
---|---|
IType | An attribute type. |
Properties
| Improve this Doc View SourceSpecification
Gets the exception specification wrapped by this exception specification attribute.
Declaration
public ExceptionSpecification Specification { get; }
Property Value
Type | Description |
---|---|
ExceptionSpecification | An exception specification. |
Explicit Interface Implementations
| Improve this Doc View SourceIAttribute.AttributeType
Declaration
IType IAttribute.AttributeType { get; }
Returns
Type | Description |
---|---|
IType |