Class ExceptionSpecificationAttribute
An attribute that attaches an exception specification to a method.
Implements
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public sealed class ExceptionSpecificationAttribute : IAttribute
Constructors
| Edit this page View SourceExceptionSpecificationAttribute(ExceptionSpecification)
Creates an exception specification attribute.
Declaration
public ExceptionSpecificationAttribute(ExceptionSpecification specification)
Parameters
| Type | Name | Description |
|---|---|---|
| ExceptionSpecification | specification | An exception specification. |
Fields
| Edit this page View SourceAttributeType
The attribute type of exception specification attributes.
Declaration
public static readonly IType AttributeType
Field Value
| Type | Description |
|---|---|
| IType | An attribute type. |
Properties
| Edit this page 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. |