Commit 99afcde
Fix CLI rename-symbol support for top-level statement (#1721)
* Fix CLI rename-symbol ignore implicitly declared method parameters (e.g. top-level statement string[] args)
* Fix CLI rename-symbol: add support for top-level statements in LocalSymbolFinder.FindLocalSymbols
* Use explicit type instead of 'var'
* Update src/Workspaces.Core/Rename/SymbolListHelpers.cs
* Changelog update
---------
Co-authored-by: Josef Pihrt <[email protected]>1 parent 89355b2 commit 99afcde
File tree
3 files changed
+12
-1
lines changed- src
- CSharp.Workspaces/CSharp/FindSymbols
- Workspaces.Core/Rename
3 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
105 | 115 | | |
106 | 116 | | |
107 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments