diff --git a/ICSharpCode.NRefactory/CSharp/Ast/Statements/Statement.cs b/ICSharpCode.NRefactory/CSharp/Ast/Statements/Statement.cs
index 5a2ad300b2..e2d607571d 100644
--- a/ICSharpCode.NRefactory/CSharp/Ast/Statements/Statement.cs
+++ b/ICSharpCode.NRefactory/CSharp/Ast/Statements/Statement.cs
@@ -74,38 +74,6 @@ namespace ICSharpCode.NRefactory.CSharp
}
#endregion
- ///
- /// Gets the previous statement within the current block.
- /// This is usually equivalent to , but will skip any non-statements (e.g. comments)
- ///
- public Statement PreviousStatement {
- get {
- AstNode node = this;
- while ((node = node.PrevSibling) != null) {
- Statement stmt = node as Statement;
- if (stmt != null)
- return stmt;
- }
- return null;
- }
- }
-
- ///
- /// Gets the next statement within the current block.
- /// This is usually equivalent to , but will skip any non-statements (e.g. comments)
- ///
- public Statement NextStatement {
- get {
- AstNode node = this;
- while ((node = node.NextSibling) != null) {
- Statement stmt = node as Statement;
- if (stmt != null)
- return stmt;
- }
- return null;
- }
- }
-
public new Statement Clone()
{
return (Statement)base.Clone();