mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
47 lines
852 B
C#
Executable File
47 lines
852 B
C#
Executable File
//
|
|
// System.CodeDom CodeCatchClaus Class implementation
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) 2001 Ximian, Inc.
|
|
//
|
|
|
|
namespace System.CodeDom {
|
|
|
|
public class CodeCatchClause {
|
|
|
|
CodeParameterDeclarationExpression condition;
|
|
CodeStatementCollection statements;
|
|
|
|
public CodeCatchClause ()
|
|
{
|
|
this.statements = new CodeStatementCollection ();
|
|
}
|
|
|
|
public CodeCatchClause (CodeParameterDeclarationExpression condition,
|
|
CodeStatement [] statements)
|
|
{
|
|
this.condition = condition;
|
|
this.statements = new CodeStatementCollection ();
|
|
this.statements.AddRange (statements);
|
|
}
|
|
|
|
public CodeStatementCollection Statements {
|
|
get {
|
|
return statements;
|
|
}
|
|
}
|
|
|
|
public CodeParameterDeclarationExpression Condition {
|
|
get {
|
|
return condition;
|
|
}
|
|
|
|
set {
|
|
condition = value;
|
|
}
|
|
}
|
|
}
|
|
}
|