Show / Hide Table of Contents

    Class ExceptionSpecificationAttribute

    An attribute that attaches an exception specification to a method.

    Inheritance
    System.Object
    ExceptionSpecificationAttribute
    Implements
    IAttribute
    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 Source

    ExceptionSpecificationAttribute(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 Source

    AttributeType

    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 Source

    Specification

    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 Source

    IAttribute.AttributeType

    Declaration
    IType IAttribute.AttributeType { get; }
    Returns
    Type Description
    IType

    Implements

    IAttribute
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX