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

Inheritance: GatherVisitorBase
Mostrar archivo Open project: mono-soc-2012/NRefactory

Public Methods

Method Description
GatherVisitor ( BaseRefactoringContext ctx, CompilationUnit unit ) : System.Collections.Generic
VisitParameterDeclaration ( ParameterDeclaration parameterDeclaration ) : void
VisitVariableInitializer ( VariableInitializer variableInitializer ) : void

Private Methods

Method Description
AddIssue ( AstNode node ) : void
CollectIssues ( AstNode variableDecl, BlockStatement rootStatement, ICSharpCode.NRefactory.Semantics.LocalResolveResult resolveResult ) : void
IsAssignment ( AstNode node ) : bool
ProcessNode ( VariableReferenceNode node, bool addIssue, NodeState>.IDictionary nodeStates ) : void
ProcessNodes ( VariableReferenceNode startNode ) : void

Method Details

GatherVisitor() public method

public GatherVisitor ( BaseRefactoringContext ctx, CompilationUnit unit ) : System.Collections.Generic
ctx BaseRefactoringContext
unit CompilationUnit
return System.Collections.Generic

VisitParameterDeclaration() public method

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

VisitVariableInitializer() public method

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