Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/System.CodeDom/CodeCatchClause.cs')
-rwxr-xr-xmcs/class/System/System.CodeDom/CodeCatchClause.cs81
1 files changed, 0 insertions, 81 deletions
diff --git a/mcs/class/System/System.CodeDom/CodeCatchClause.cs b/mcs/class/System/System.CodeDom/CodeCatchClause.cs
deleted file mode 100755
index 2d5addf592e..00000000000
--- a/mcs/class/System/System.CodeDom/CodeCatchClause.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-//
-// System.CodeDom CodeCatchClaus Class implementation
-//
-// Author:
-// Miguel de Icaza (miguel@ximian.com)
-// Daniel Stodden (stodden@in.tum.de)
-//
-// (C) 2001 Ximian, Inc.
-//
-
-using System.Runtime.InteropServices;
-
-namespace System.CodeDom
-{
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDispatch)]
- [ComVisible(true)]
- public class CodeCatchClause
- {
- private CodeTypeReference catchExceptionType;
- private string localName;
- private CodeStatementCollection statements;
-
- //
- // Constructors
- //
- public CodeCatchClause ()
- {
- }
-
- public CodeCatchClause ( string localName )
- {
- this.localName = localName;
- }
-
- public CodeCatchClause ( string localName,
- CodeTypeReference catchExceptionType )
- {
- this.localName = localName;
- this.catchExceptionType = catchExceptionType;
- }
-
- public CodeCatchClause ( string localName,
- CodeTypeReference catchExceptionType,
- params CodeStatement[] statements )
- {
- this.localName = localName;
- this.catchExceptionType = catchExceptionType;
- this.Statements.AddRange( statements );
- }
-
- //
- // Properties
- //
- public CodeTypeReference CatchExceptionType {
- get {
- return catchExceptionType;
- }
- set {
- catchExceptionType = value;
- }
- }
-
- public string LocalName {
- get {
- return localName;
- }
- set {
- localName = value;
- }
- }
-
- public CodeStatementCollection Statements {
- get {
- if ( statements == null )
- statements = new CodeStatementCollection();
- return statements;
- }
- }
- }
-}