Files
mono/mcs/class/System/System.CodeDom/CodeThrowExceptionStatement.cs
T
2002-05-11 15:44:41 +00:00

47 lines
724 B
C#
Executable File

//
// System.CodeDom CodeThrowExceptionStatement Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (C) 2001 Ximian, Inc.
//
using System.Runtime.InteropServices;
namespace System.CodeDom
{
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class CodeThrowExceptionStatement
: CodeStatement
{
private CodeExpression toThrow;
//
// Constructors
//
public CodeThrowExceptionStatement ()
{
}
public CodeThrowExceptionStatement (CodeExpression toThrow)
{
this.toThrow = toThrow;
}
//
// Properties
//
public CodeExpression ToThrow {
get {
return toThrow;
}
set {
toThrow = value;
}
}
}
}