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

Inheritance: GatherVisitorBase
显示文件 Open project: mono-soc-2012/NRefactory

Public Methods

Method Description
GatherVisitor ( BaseRefactoringContext context, CompilationUnit unit, AccessToClosureIssue issueProvider ) : System
VisitForeachStatement ( ForeachStatement foreachStatement ) : void
VisitParameterDeclaration ( ParameterDeclaration parameterDeclaration ) : void
VisitVariableInitializer ( VariableInitializer variableInitializer ) : void

Private Methods

Method Description
AddNode ( Environment>.IDictionary envLookup, Node node ) : void
CanReachModification ( IEnumerable cfg, Environment env, IDictionary modifications ) : bool
CheckVariable ( IVariable variable, Statement env ) : void
CollectAllIssues ( Environment env, string variableName ) : void
CollectIssues ( Environment env, string variableName ) : void
FindLocalReferences ( IVariable variable, FoundReferenceCallback callback ) : void

Method Details

GatherVisitor() public method

public GatherVisitor ( BaseRefactoringContext context, CompilationUnit unit, AccessToClosureIssue issueProvider ) : System
context BaseRefactoringContext
unit CompilationUnit
issueProvider AccessToClosureIssue
return System

VisitForeachStatement() public method

public VisitForeachStatement ( ForeachStatement foreachStatement ) : void
foreachStatement ForeachStatement
return void

VisitParameterDeclaration() public method

public VisitParameterDeclaration ( ParameterDeclaration parameterDeclaration ) : void
parameterDeclaration ParameterDeclaration
return void

VisitVariableInitializer() public method

public VisitVariableInitializer ( VariableInitializer variableInitializer ) : void
variableInitializer VariableInitializer
return void