dotnet / dotnet/command-line-api

How to get symbol name from a `SymbolResult`

Open
#2,759 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

I may be overlooking something obvious, or just have spaced on this...

I want to transform the `ParseResult` for combining with additional failures that will be grouped by symbol name.

I can get the `SymbolResult` from `ParseResult.Errors.First().SymbolResult`

However, I do not see how to get the `Symbol` from the `SymbolResult` (which seems odd enough I am pretty sure I have overlooked something).

@jonsequitur

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.