Method | Description | |
---|---|---|
BaseRefactoringContext ( ICSharpCode resolver, System cancellationToken ) : System | ||
CreateDefiniteAssignmentAnalysis ( Statement root ) : DefiniteAssignmentAnalysis |
Creates a new definite assignment analysis object with a given root statement.
|
|
CreateReachabilityAnalysis ( Statement statement, ICSharpCode.NRefactory.CSharp.Analysis.ReachabilityAnalysis recursiveDetectorVisitor = null ) : ICSharpCode.NRefactory.CSharp.Analysis.ReachabilityAnalysis |
Creates a new reachability analysis object with a given statement.
|
|
CreateTypeSystemAstBuilder ( AstNode node ) : |
||
FindReferences ( AstNode rootNode, IVariable variable ) : IList |
||
GetConversion ( Expression expression ) : Conversion | ||
GetExpectedType ( Expression expression ) : IType | ||
GetLineByOffset ( int offset ) : IDocumentLine | ||
GetLocalNameProposal ( string name, TextLocation loc, bool camelCase = true ) : string | ||
GetLocation ( int offset ) : TextLocation | ||
GetNameProposal ( string name, TextLocation loc, bool camelCase = true ) : string | ||
GetOffset ( TextLocation location ) : int | ||
GetOffset ( int line, int col ) : int | ||
GetResolverStateAfter ( AstNode node ) : |
||
GetResolverStateBefore ( AstNode node ) : |
||
GetService ( |
Retrieves a service from the refactoring context. If the service is not found in the Services container.
|
|
GetText ( ISegment segment ) : string | ||
GetText ( int offset, int length ) : string | ||
ParseFormatString ( string source ) : ICSharpCode.NRefactory.Utils.FormatStringParseResult |
Parses a composite format string.
|
|
Resolve ( AstNode node ) : ResolveResult | ||
ResolveType ( AstType type ) : IType | ||
Supports ( System.Version version ) : bool | ||
TranslateString ( string str ) : string |
Translates the english input string to the context language.
|
Method | Description | |
---|---|---|
AppendNumberToName ( string baseName, int number ) : string |
public BaseRefactoringContext ( ICSharpCode resolver, System cancellationToken ) : System | ||
resolver | ICSharpCode | |
cancellationToken | System | |
return | System |
public CreateDefiniteAssignmentAnalysis ( Statement root ) : DefiniteAssignmentAnalysis | ||
root | Statement | /// The root statement. /// |
return | DefiniteAssignmentAnalysis |
public CreateReachabilityAnalysis ( Statement statement, ICSharpCode.NRefactory.CSharp.Analysis.ReachabilityAnalysis recursiveDetectorVisitor = null ) : ICSharpCode.NRefactory.CSharp.Analysis.ReachabilityAnalysis | ||
statement | Statement | /// The statement to start the analysis. /// |
recursiveDetectorVisitor | ICSharpCode.NRefactory.CSharp.Analysis.ReachabilityAnalysis | /// TODO. /// |
return | ICSharpCode.NRefactory.CSharp.Analysis.ReachabilityAnalysis |
public CreateTypeSystemAstBuilder ( AstNode node ) : |
||
node | AstNode | |
return |
public FindReferences ( AstNode rootNode, IVariable variable ) : IList |
||
rootNode | AstNode | |
variable | IVariable | |
return | IList |
public GetConversion ( Expression expression ) : Conversion | ||
expression | Expression | |
return | Conversion |
public GetExpectedType ( Expression expression ) : IType | ||
expression | Expression | |
return | IType |
public abstract GetLineByOffset ( int offset ) : IDocumentLine | ||
offset | int | |
return | IDocumentLine |
public GetLocalNameProposal ( string name, TextLocation loc, bool camelCase = true ) : string | ||
name | string | |
loc | TextLocation | |
camelCase | bool | |
return | string |
public abstract GetLocation ( int offset ) : TextLocation | ||
offset | int | |
return | TextLocation |
public GetNameProposal ( string name, TextLocation loc, bool camelCase = true ) : string | ||
name | string | |
loc | TextLocation | |
camelCase | bool | |
return | string |
public abstract GetOffset ( TextLocation location ) : int | ||
location | TextLocation | |
return | int |
public GetResolverStateAfter ( AstNode node ) : |
||
node | AstNode | |
return |
public GetResolverStateBefore ( AstNode node ) : |
||
node | AstNode | |
return |
public GetService ( |
||
serviceType | ||
return | object |
public abstract GetText ( ISegment segment ) : string | ||
segment | ISegment | |
return | string |
public abstract GetText ( int offset, int length ) : string | ||
offset | int | |
length | int | |
return | string |
public ParseFormatString ( string source ) : ICSharpCode.NRefactory.Utils.FormatStringParseResult | ||
source | string | |
return | ICSharpCode.NRefactory.Utils.FormatStringParseResult |
public Resolve ( AstNode node ) : ResolveResult | ||
node | AstNode | |
return | ResolveResult |
public Supports ( System.Version version ) : bool | ||
version | System.Version | |
return | bool |
public TranslateString ( string str ) : string | ||
str | string | |
return | string |