Files
mono/mcs/class/System/System.CodeDom/CodeThrowExceptionStatement.cs
T
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00

33 lines
544 B
C#
Executable File

//
// System.CodeDom CodeThrowExceptionStatement Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (C) 2001 Ximian, Inc.
//
namespace System.CodeDom {
[Serializable]
public class CodeThrowExceptionStatement : CodeStatement {
CodeExpression toThrow;
public CodeThrowExceptionStatement () {}
public CodeThrowExceptionStatement (CodeExpression toThrow)
{
this.toThrow = toThrow;
}
public CodeExpression ToThrow {
get {
return toThrow;
}
set {
toThrow = value;
}
}
}
}