SymbolExtensions.TryGetDeclaration Method
TryGetDeclaration(ICompilation, ISymbol, out IDeclaration?)
Declaration
public static bool TryGetDeclaration(this ICompilation compilation, ISymbol symbol, out IDeclaration? declaration)
Parameters
Type | Name | Description |
---|---|---|
ICompilation | compilation | |
ISymbol | symbol | |
IDeclaration | declaration |
Returns
Type | Description |
---|---|
bool |