~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to contrib/Mono.Cecil/Cecil.Decompiler/Cecil.Decompiler.Ast/IfStatement.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-09-10 16:54:48 UTC
  • mfrom: (19.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100910165448-0rybfk25zd4o9431
Tags: 2.4+dfsg-2
* debian/patches/inject_Mono.Debugger.Soft_source.patch,
  debian/patches/use_system_Mono.Debugger.Soft.patch,
  debian/control:
  + Build against system Soft Debugger, since we now have a new
    enough Mono to match MonoDevelop's required API

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#region license
 
2
//
 
3
//      (C) 2005 - 2007 db4objects Inc. http://www.db4o.com
 
4
//      (C) 2007 - 2008 Novell, Inc. http://www.novell.com
 
5
//      (C) 2007 - 2008 Jb Evain http://evain.net
 
6
//
 
7
// Permission is hereby granted, free of charge, to any person obtaining
 
8
// a copy of this software and associated documentation files (the
 
9
// "Software"), to deal in the Software without restriction, including
 
10
// without limitation the rights to use, copy, modify, merge, publish,
 
11
// distribute, sublicense, and/or sell copies of the Software, and to
 
12
// permit persons to whom the Software is furnished to do so, subject to
 
13
// the following conditions:
 
14
//
 
15
// The above copyright notice and this permission notice shall be
 
16
// included in all copies or substantial portions of the Software.
 
17
//
 
18
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
19
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
20
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
21
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 
22
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 
23
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 
24
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
25
//
 
26
#endregion
 
27
 
 
28
// Warning: generated do not edit
 
29
 
 
30
using System;
 
31
using System.Collections.Generic;
 
32
 
 
33
using Mono.Cecil;
 
34
using Mono.Cecil.Cil;
 
35
 
 
36
namespace Cecil.Decompiler.Ast {
 
37
 
 
38
        public class IfStatement : Statement {
 
39
 
 
40
                Expression condition;
 
41
                BlockStatement then;
 
42
                BlockStatement @else;
 
43
 
 
44
                public IfStatement ()
 
45
                {
 
46
                }
 
47
 
 
48
                public IfStatement (Expression condition, BlockStatement then, BlockStatement @else)
 
49
                {
 
50
                        this.condition = condition;
 
51
                        this.then = then;
 
52
                        this.@else = @else;
 
53
                }
 
54
 
 
55
                public Expression Condition
 
56
                {
 
57
                        get { return condition; }
 
58
                        set { this.condition = value; }
 
59
                }
 
60
 
 
61
                public BlockStatement Then
 
62
                {
 
63
                        get { return then; }
 
64
                        set { this.then = value; }
 
65
                }
 
66
 
 
67
                public BlockStatement Else
 
68
                {
 
69
                        get { return @else; }
 
70
                        set { this.@else = value; }
 
71
                }
 
72
 
 
73
                public override CodeNodeType CodeNodeType
 
74
                {
 
75
                        get { return CodeNodeType.IfStatement; }
 
76
                }
 
77
        }
 
78
 
 
79
        public static partial class CodeNode {
 
80
 
 
81
        }
 
82
}