~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric-updates

« back to all changes in this revision

Viewing changes to src/core/NRefactory/Project/Src/Ast/General/BlockStatement.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-18 08:40:51 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090218084051-gh8m6ukvokbwj7cf
Tags: 1.9.2+dfsg-1ubuntu1
* Merge from Debian Experimental (LP: #330519), remaining Ubuntu changes:
  + debian/control:
    - Update for Gnome# 2.24
    - Add libmono-cairo1.0-cil to build-deps to fool pkg-config check

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
//     <copyright see="prj:///doc/copyright.txt"/>
3
3
//     <license see="prj:///doc/license.txt"/>
4
4
//     <owner name="none" email=""/>
5
 
//     <version>$Revision: 1965 $</version>
 
5
//     <version>$Revision: 2191 $</version>
6
6
// </file>
7
7
 
8
8
using System;
14
14
                // Children in C#: LabelStatement, LocalVariableDeclaration, Statement
15
15
                // Children in VB: LabelStatement, EndStatement, Statement
16
16
                
17
 
                public static new NullBlockStatement Null {
 
17
                public static new BlockStatement Null {
18
18
                        get {
19
19
                                return NullBlockStatement.Instance;
20
20
                        }
32
32
                }
33
33
        }
34
34
        
35
 
        public class NullBlockStatement : BlockStatement
 
35
        internal sealed class NullBlockStatement : BlockStatement
36
36
        {
37
 
                static NullBlockStatement nullBlockStatement = new NullBlockStatement();
 
37
                public static readonly NullBlockStatement Instance = new NullBlockStatement();
38
38
                
39
39
                public override bool IsNull {
40
40
                        get {
42
42
                        }
43
43
                }
44
44
                
45
 
                public static NullBlockStatement Instance {
46
 
                        get {
47
 
                                return nullBlockStatement;
48
 
                        }
49
 
                }
50
 
                
51
 
                NullBlockStatement()
52
 
                {
53
 
                }
54
 
                
55
45
                public override object AcceptVisitor(IAstVisitor visitor, object data)
56
46
                {
57
47
                        return data;