diff --git a/ICSharpCode.NRefactory.CSharp/Ast/Statements/LabelStatement.cs b/ICSharpCode.NRefactory.CSharp/Ast/Statements/LabelStatement.cs
index 94e527e220..ef2190bfe8 100644
--- a/ICSharpCode.NRefactory.CSharp/Ast/Statements/LabelStatement.cs
+++ b/ICSharpCode.NRefactory.CSharp/Ast/Statements/LabelStatement.cs
@@ -40,6 +40,11 @@ namespace ICSharpCode.NRefactory.CSharp
}
}
+ public Identifier LabelToken {
+ get { return GetChildByRole (Roles.Identifier); }
+ set { SetChildByRole (Roles.Identifier, value); }
+ }
+
public CSharpTokenNode Colon {
get { return GetChildByRole (Roles.Colon); }
}
diff --git a/ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj b/ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj
index 37b48cf0a0..6aca802374 100644
--- a/ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj
+++ b/ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj
@@ -343,6 +343,11 @@
+
+
+
+
+
@@ -354,6 +359,7 @@
+
diff --git a/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/GatherVisitorBase.cs b/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/GatherVisitorBase.cs
index 20b5b730d6..f505592be4 100644
--- a/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/GatherVisitorBase.cs
+++ b/ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/GatherVisitorBase.cs
@@ -54,8 +54,20 @@ namespace ICSharpCode.NRefactory.CSharp
protected void AddIssue(TextLocation start, TextLocation end, string title, System.Action