~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Refactoring/MonoDevelop.CodeActions/AnalysisCodeAction.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
using MonoDevelop.Ide;
32
32
using MonoDevelop.CodeIssues;
33
33
using MonoDevelop.AnalysisCore.Fixes;
 
34
using Mono.TextEditor;
34
35
 
35
36
namespace MonoDevelop.CodeActions
36
37
{
53
54
                        Description = result.Message;
54
55
                }
55
56
                
56
 
                public override System.Collections.Generic.IEnumerable<CodeAction> GetActions (MonoDevelop.Ide.Gui.Document document, TextLocation loc, CancellationToken cancellationToken)
 
57
                public override System.Collections.Generic.IEnumerable<CodeAction> GetActions (MonoDevelop.Ide.Gui.Document document, object refactoringContext, TextLocation loc, CancellationToken cancellationToken)
57
58
                {
58
 
                        yield return new AnalysisCodeAction (Action, Result);
 
59
                        yield return new AnalysisCodeAction (Action, Result) {
 
60
                                DocumentRegion = Action.DocumentRegion
 
61
                        };
59
62
                }
60
63
 
61
64
                internal class AnalysisCodeAction : CodeAction