Search Results for

    Show / Hide Table of Contents

    Class ExceptionSpecificationAttribute

    An attribute that attaches an exception specification to a method.

    Inheritance
    object
    ExceptionSpecificationAttribute
    Implements
    IAttribute
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Flame.TypeSystem
    Assembly: Flame.dll
    Syntax
    public sealed class ExceptionSpecificationAttribute : IAttribute

    Constructors

    | Edit this page View Source

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

    AttributeType

    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 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.

    Implements

    IAttribute
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX