StyleCop.CSharp by StyleCop contributors, Andy Reeves, Chris Dahlberg

<PackageReference Include="StyleCop.CSharp" Version="6.2.0" />

.NET API 245,760 bytes


public sealed class CatchStatement : Statement
A catch-statement.
public Expression CatchExpression { get; }

Gets the expression within the catch statement.

public TypeToken ClassType { get; }

Gets the class type of the exception being caught.

Gets the statement embedded within the catch-statement.

public CsToken Identifier { get; }

Gets the exception variable identifier.

public TryStatement TryStatement { get; }

Gets the try-statement that this catch-statement is attached to.

public WhenStatement WhenStatement { get; }

Gets the when statement to filter a catch expression introduced in C# 6.