Commit e260ae6
Support GotoDefinition in LINQ query syntax (#23049)
* Initial support for GotoDefinition in LINQ query syntax.
* Fixed naming issues.
* Fixed failing tests.
* Added support for Cast<> in from clause. Removed support for degenerated select clause. Reverted changes causing regressions.
* Added support for tokens to distinguish which MethodSymbol to return for a SyntaxNode that binds to more than one method. This adds support for range variable types and orderby.
* Fixed regression. Suppressed quick-info for degenerated query expressions.
* Added quick info tests according to the proposal.
* Added test for GotoDefinition. Moved logic for degenerated clauses to deeper layer.
* Added GotoDefinition for let test.
* Added test for incomplete orderby clause
* Code refactorings (Review feedback).
* PR feedback (nits)
* PR feedback (code comments).
* Revert changes in compiler.
* Revert changes in compiler (2).
* Added test for single from clause with out cast.
* Removed call to GetLanguageService and ValueTuple.Create
* Unify to return default;
* Corrected ISyntaxFactsService.IsQueryKeyword for VB and C#1 parent 95cd555 commit e260ae6
File tree
10 files changed
+1582
-26
lines changed- src
- EditorFeatures
- CSharpTest/QuickInfo
- Core/Implementation/IntelliSense/QuickInfo/Providers
- Test2/GoToDefinition
- Workspaces
- CSharp/Portable/LanguageServices
- Core/Portable
- LanguageServices
- SemanticsFactsService
- SyntaxFactsService
- VisualBasic/Portable/LanguageServices
10 files changed
+1582
-26
lines changedLines changed: 514 additions & 3 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
286 | | - | |
287 | | - | |
288 | 287 | | |
289 | 288 | | |
290 | 289 | | |
| |||
296 | 295 | | |
297 | 296 | | |
298 | 297 | | |
299 | | - | |
| 298 | + | |
300 | 299 | | |
301 | 300 | | |
302 | 301 | | |
| |||
307 | 306 | | |
308 | 307 | | |
309 | 308 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
| 309 | + | |
| 310 | + | |
316 | 311 | | |
317 | 312 | | |
318 | 313 | | |
| |||
322 | 317 | | |
323 | 318 | | |
324 | 319 | | |
325 | | - | |
326 | | - | |
| 320 | + | |
327 | 321 | | |
328 | 322 | | |
329 | 323 | | |
330 | | - | |
| 324 | + | |
331 | 325 | | |
332 | 326 | | |
333 | 327 | | |
| |||
0 commit comments