Open sandboxFocus

Method GetDiagnosticLocation

GetDiagnosticLocation(ISymbol)

Gets the Location suitable to report a Diagnostic on a given ISymbol (typically the identifier).

Declaration
public static Location? GetDiagnosticLocation(this ISymbol symbol)
Parameters
Type Name Description
ISymbol symbol
Returns
Type Description
Location