Show / Hide Table of Contents

    Class ExceptionSpecificationExtensions

    Extension methods that make working with exception specifications easier.

    Inheritance
    System.Object
    ExceptionSpecificationExtensions
    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
    Assembly: Flame.dll
    Syntax
    public static class ExceptionSpecificationExtensions

    Methods

    | Improve this Doc View Source

    GetExceptionSpecification(IMethod)

    Gets a method's exception specification.

    Declaration
    public static ExceptionSpecification GetExceptionSpecification(this IMethod method)
    Parameters
    Type Name Description
    IMethod method

    The method to examine.

    Returns
    Type Description
    ExceptionSpecification

    The explicit exception specification encoded in method's exception specification attribute, if it has one; otherwise, a throw-any specification.

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