Do not crash the NamingStyleCodeFix when we cannot find the symbol
Fixes #15788 We should always be able to find the symbol that generated this diagnostic, but this cannot always be done by simply asking for the declared symbol on the node from the symbol's declaration location. Issue #16588 is tracking a more complete fix for this that always successfully finds the symbol.
Showing
想要评论请 注册 或 登录