| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // 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;
- }
- }
- }
- }
|