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/CodeConditionStatement.cs')
-rw-r--r--mcs/class/System/System.CodeDom/CodeConditionStatement.cs77
1 files changed, 0 insertions, 77 deletions
diff --git a/mcs/class/System/System.CodeDom/CodeConditionStatement.cs b/mcs/class/System/System.CodeDom/CodeConditionStatement.cs
deleted file mode 100644
index fb04c884371..00000000000
--- a/mcs/class/System/System.CodeDom/CodeConditionStatement.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-// System.CodeDom CodeConditionStatement Class implementation
-//
-// Author:
-// Daniel Stodden (stodden@in.tum.de)
-//
-// (C) 2002 Ximian, Inc.
-//
-
-using System.Runtime.InteropServices;
-
-namespace System.CodeDom
-{
- [Serializable]
- [ClassInterface(ClassInterfaceType.AutoDispatch)]
- [ComVisible(true)]
- public class CodeConditionStatement
- : CodeStatement
- {
- private CodeExpression condition;
- private CodeStatementCollection trueStatements;
- private CodeStatementCollection falseStatements;
-
- //
- // Constructors
- //
- public CodeConditionStatement()
- {
- }
-
- public CodeConditionStatement( CodeExpression condition,
- params CodeStatement[] trueStatements )
- {
- this.condition = condition;
- this.TrueStatements.AddRange( trueStatements );
- }
-
- public CodeConditionStatement( CodeExpression condition,
- CodeStatement[] trueStatements,
- CodeStatement[] falseStatements )
- {
- this.condition = condition;
- this.TrueStatements.AddRange( trueStatements );
- this.FalseStatements.AddRange( falseStatements );
- }
-
- //
- // Properties
- //
- public CodeExpression Condition {
- get {
- return condition;
- }
- set {
- condition = value;
- }
- }
-
- public CodeStatementCollection FalseStatements {
- get {
- if ( falseStatements == null )
- falseStatements =
- new CodeStatementCollection();
- return falseStatements;
- }
- }
-
- public CodeStatementCollection TrueStatements {
- get {
- if ( trueStatements == null )
- trueStatements =
- new CodeStatementCollection();
- return trueStatements;
- }
- }
- }
-}