mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
47 lines
724 B
C#
Executable File
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;
|
|
}
|
|
}
|
|
}
|
|
}
|