blob: b031fa039dd1b93dc7d84d7415edb663d0fe2d0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
//
// System.CodeDom CodeThrowExceptionStatement Class implementation
//
// Author:
// Miguel de Icaza (miguel@ximian.com)
//
// (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;
}
}
}
}
|