Fixed all sorts of compiler errors.
[mono.git] / mcs / class / System / System.CodeDom / CodeThrowExceptionStatement.cs
1 //
2 // System.CodeDom CodeThrowExceptionStatement Class implementation
3 //
4 // Author:
5 //   Miguel de Icaza (miguel@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.
8 //
9
10 namespace System.CodeDom {
11
12         public class CodeThrowExceptionStatement : CodeStatement {
13                 CodeExpression toThrow;
14                 
15                 public CodeThrowExceptionStatement () {}
16                 public CodeThrowExceptionStatement (CodeExpression toThrow)
17                 {
18                         this.toThrow = toThrow;
19                 }
20
21                 public CodeExpression ToThrow {
22                         get {
23                                 return toThrow;
24                         }
25
26                         set {
27                                 toThrow = value;
28                         }
29                 }
30         }
31 }