C# Class ICSharpCode.NRefactory.CSharp.Refactoring.AccessToClosureIssue

Inheritance: ICodeIssueProvider
Mostra file Open project: mono-soc-2012/NRefactory Class Usage Examples

Public Methods

Method Description
GetIssues ( BaseRefactoringContext context ) : IEnumerable

Protected Methods

Method Description
AccessToClosureIssue ( string title ) : System
CanReachModification ( ControlFlowNode node, Statement start, IDictionary modifications ) : bool
GetFixes ( BaseRefactoringContext context, Node env, string variableName ) : IEnumerable
GetNodeKind ( AstNode node ) : NodeKind
IsTargetVariable ( IVariable variable ) : bool

Method Details

AccessToClosureIssue() protected method

protected AccessToClosureIssue ( string title ) : System
title string
return System

CanReachModification() protected method

protected CanReachModification ( ControlFlowNode node, Statement start, IDictionary modifications ) : bool
node ControlFlowNode
start Statement
modifications IDictionary
return bool

GetFixes() protected abstract method

protected abstract GetFixes ( BaseRefactoringContext context, Node env, string variableName ) : IEnumerable
context BaseRefactoringContext
env Node
variableName string
return IEnumerable

GetIssues() public method

public GetIssues ( BaseRefactoringContext context ) : IEnumerable
context BaseRefactoringContext
return IEnumerable

GetNodeKind() protected abstract method

protected abstract GetNodeKind ( AstNode node ) : NodeKind
node AstNode
return NodeKind

IsTargetVariable() protected method

protected IsTargetVariable ( IVariable variable ) : bool
variable IVariable
return bool