Méthode | Description | |
---|---|---|
FindLocalReferences ( IVariable variable, CSharpUnresolvedFile unresolvedFile, SyntaxTree syntaxTree, ICompilation compilation, FoundReferenceCallback callback, |
Finds all references of a given variable.
|
|
FindReferencesInFile ( IFindReferenceSearchScope searchScope, ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver resolver, FoundReferenceCallback callback, |
Finds all references in the given file.
|
|
FindReferencesInFile ( IFindReferenceSearchScope searchScope, CSharpUnresolvedFile unresolvedFile, SyntaxTree syntaxTree, ICompilation compilation, FoundReferenceCallback callback, |
Finds all references in the given file.
|
|
FindReferencesInFile ( IList |
Finds all references in the given file.
|
|
FindReferencesInFile ( IList |
Finds all references in the given file.
|
|
GetEffectiveAccessibility ( IEntity entity ) : Accessibility |
Gets the effective accessibility of the specified entity - that is, the accessibility viewed from the top level. internal member in public class -> internal public member in internal class -> internal protected member in public class -> protected protected member in internal class -> protected and internal |
|
GetInterestingFiles ( IFindReferenceSearchScope searchScope, ICompilation compilation ) : IEnumerable |
Gets the file names that possibly contain references to the element being searched for.
|
|
GetNodeToReplace ( AstNode node ) : AstNode | ||
GetSearchScopes ( IEnumerable |
||
GetSearchScopes ( ISymbol symbol ) : IList |
||
RenameReferencesInFile ( IList |
Méthode | Description | |
---|---|---|
FindAwaiterIsCompletedReferences ( IProperty property ) : SearchScope | ||
FindBinaryOperator ( IMethod op, BinaryOperatorType operatorType ) : SearchScope | ||
FindChainedConstructorReferences ( IMethod ctor ) : SearchScope | ||
FindEnumeratorCurrentReferences ( IProperty property ) : SearchScope | ||
FindIndexerReferences ( IProperty indexer ) : SearchScope | ||
FindMemberReferences ( IEntity member, FindMemberReferencesNavigator>.Func |
||
FindObjectCreateReferences ( IMethod ctor ) : SearchScope | ||
FindOperator ( IMethod op, FindReferenceNavigator>.Func |
||
FindTypeDefinitionReferences ( ITypeDefinition typeDefinition, bool findTypeReferencesEvenIfAliased, SearchScope &additionalScope ) : SearchScope | ||
FindTypeDefinitionReferences ( ITypeDefinition typeDefinition, string searchTerm ) : SearchScope | ||
FindTypeParameterReferences ( IType typeParameter, CSharpUnresolvedFile unresolvedFile, SyntaxTree syntaxTree, ICompilation compilation, FoundReferenceCallback callback, |
||
FindUnaryOperator ( IMethod op, UnaryOperatorType operatorType ) : SearchScope | ||
GetInterestingFilesProtected ( ITypeDefinition referencedTypeDefinition ) : IEnumerable |
||
GetSearchScopeForDestructor ( IMethod dtor ) : SearchScope | ||
GetSearchScopeForLocalVariable ( IVariable variable ) : SearchScope | ||
GetSearchScopeForMethod ( IMethod method ) : SearchScope | ||
GetSearchScopeForNamespace ( INamespace ns ) : SearchScope | ||
GetSearchScopeForOperator ( IMethod op ) : SearchScope | ||
GetSearchScopeForParameter ( IParameter parameter ) : SearchScope | ||
GetSearchScopeForTypeParameter ( ITypeParameter tp ) : SearchScope | ||
GetTopLevelTypeDefinition ( IEntity entity ) : ITypeDefinition | ||
IsMemberMatch ( IMember member, IMember referencedMember, bool isVirtualCall ) : bool | ||
MergeAccessibility ( Accessibility outer, Accessibility inner ) : Accessibility | ||
NormalizeMember ( IMember member ) : IMember |
public FindLocalReferences ( IVariable variable, CSharpUnresolvedFile unresolvedFile, SyntaxTree syntaxTree, ICompilation compilation, FoundReferenceCallback callback, |
||
variable | IVariable | The variable for which to look. |
unresolvedFile | CSharpUnresolvedFile | The type system representation of the file being searched. |
syntaxTree | SyntaxTree | The syntax tree of the file being searched. |
compilation | ICompilation | The compilation. |
callback | FoundReferenceCallback | Callback used to report the references that were found. |
cancellationToken | Cancellation token that may be used to cancel the operation. | |
Résultat | void |
public FindReferencesInFile ( IFindReferenceSearchScope searchScope, ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver resolver, FoundReferenceCallback callback, |
||
searchScope | IFindReferenceSearchScope | The search scope for which to look. |
resolver | ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver | AST resolver for the file to search in. |
callback | FoundReferenceCallback | Callback used to report the references that were found. |
cancellationToken | CancellationToken that may be used to cancel the operation. | |
Résultat | void |
public FindReferencesInFile ( IFindReferenceSearchScope searchScope, CSharpUnresolvedFile unresolvedFile, SyntaxTree syntaxTree, ICompilation compilation, FoundReferenceCallback callback, |
||
searchScope | IFindReferenceSearchScope | The search scope for which to look. |
unresolvedFile | CSharpUnresolvedFile | The type system representation of the file being searched. |
syntaxTree | SyntaxTree | The syntax tree of the file being searched. |
compilation | ICompilation | The compilation for the project that contains the file. |
callback | FoundReferenceCallback | Callback used to report the references that were found. |
cancellationToken | CancellationToken that may be used to cancel the operation. | |
Résultat | void |
public FindReferencesInFile ( IList |
||
searchScopes | IList |
The search scopes for which to look. |
resolver | ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver | AST resolver for the file to search in. |
callback | FoundReferenceCallback | Callback used to report the references that were found. |
cancellationToken | CancellationToken that may be used to cancel the operation. | |
Résultat | void |
public FindReferencesInFile ( IList |
||
searchScopes | IList |
The search scopes for which to look. |
unresolvedFile | CSharpUnresolvedFile | The type system representation of the file being searched. |
syntaxTree | SyntaxTree | The syntax tree of the file being searched. |
compilation | ICompilation | The compilation for the project that contains the file. |
callback | FoundReferenceCallback | Callback used to report the references that were found. |
cancellationToken | CancellationToken that may be used to cancel the operation. | |
Résultat | void |
public static GetEffectiveAccessibility ( IEntity entity ) : Accessibility | ||
entity | IEntity | |
Résultat | Accessibility |
public GetInterestingFiles ( IFindReferenceSearchScope searchScope, ICompilation compilation ) : IEnumerable |
||
searchScope | IFindReferenceSearchScope | |
compilation | ICompilation | |
Résultat | IEnumerable |
public static GetNodeToReplace ( AstNode node ) : AstNode | ||
node | AstNode | |
Résultat | AstNode |
public GetSearchScopes ( IEnumerable |
||
symbols | IEnumerable |
|
Résultat | IList |
public GetSearchScopes ( ISymbol symbol ) : IList |
||
symbol | ISymbol | |
Résultat | IList |
public RenameReferencesInFile ( IList |
||
searchScopes | IList |
|
newName | string | |
resolver | ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver | |
callback | Action |
|
errorCallback | Action |
|
cancellationToken | ||
Résultat | void |