Skip to content

Commit e040176

Browse files
authored
Update Roslyn to 4.14.0-3.25156.1 (#8049)
2 parents d576c7f + c9ba6d9 commit e040176

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@
99
* Improve solution load performance (#11591) (PR: [#11591](https://github.com/dotnet/razor/pull/11591))
1010
* Make logging fall into the pit of success (#11581) (PR: [#11581](https://github.com/dotnet/razor/pull/11581))
1111
* Bump xamlTools to 17.14.35904.287 (PR: [#8042](https://github.com/dotnet/vscode-csharp/pull/8042))
12+
* Update Roslyn to 4.14.0-3.25156.1 (PR: [#8049](https://github.com/dotnet/vscode-csharp/pull/8049))
13+
* Don't use an implicit-object if the lang version doesn't support it (PR: [#77437](https://github.com/dotnet/roslyn/pull/77437))
14+
* Fix issue where we were changing semantics when converting to a collection expr. (PR: [#77417](https://github.com/dotnet/roslyn/pull/77417))
15+
* Detect and emit more idiomatic null check patterns (PR: [#77412](https://github.com/dotnet/roslyn/pull/77412))
16+
* Partial events and constructors: IDE (PR: [#77337](https://github.com/dotnet/roslyn/pull/77337))
17+
* Simplify keyword recommenders. (PR: [#77396](https://github.com/dotnet/roslyn/pull/77396))
18+
* Remove async/await (PR: [#77397](https://github.com/dotnet/roslyn/pull/77397))
19+
* Preserve encoding during DocumentState updates (PR: [#77354](https://github.com/dotnet/roslyn/pull/77354))
20+
* Don't realize the SourceText in SyntaxTree.OverlapsHiddenPosition if not needed (PR: [#77334](https://github.com/dotnet/roslyn/pull/77334))
21+
* Handle ModuleCancellationTokenExpression in AbstractFlow visitor (PR: [#77310](https://github.com/dotnet/roslyn/pull/77310))
22+
* PERF: Reduce the number of nodes walked during import completion commit. (PR: [#77305](https://github.com/dotnet/roslyn/pull/77305))
23+
* Allow expression body refactorings on non empty selections (PR: [#76969](https://github.com/dotnet/roslyn/pull/76969))
24+
* Partial events and constructors: public API (PR: [#77202](https://github.com/dotnet/roslyn/pull/77202))
25+
* Refresh diagnostics when fading options change (PR: [#77322](https://github.com/dotnet/roslyn/pull/77322))
26+
* Reduce allocations during completion in FilterToVisibleAndBrowsableSymbols (PR: [#77315](https://github.com/dotnet/roslyn/pull/77315))
27+
* Change override completion to select text after updating the buffer. (PR: [#76983](https://github.com/dotnet/roslyn/pull/76983))
28+
* Fix false positive 'Unnecessary assignment of a value' (PR: [#77297](https://github.com/dotnet/roslyn/pull/77297))
1229

1330
# 2.68.x
1431
* Update Razor to 9.0.0-preview.25125.9 (PR: [#8027](https://github.com/dotnet/vscode-csharp/pull/8027))

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
},
3939
"defaults": {
40-
"roslyn": "4.14.0-2.25120.5",
40+
"roslyn": "4.14.0-3.25156.1",
4141
"omniSharp": "1.39.12",
4242
"razor": "9.0.0-preview.25156.2",
4343
"razorOmnisharp": "7.0.0-preview.23363.1",

test/lsptoolshost/integrationTests/codeactions.integration.test.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@ describe(`Code Actions Tests`, () => {
7979
test('Add accessibility modifiers applied', async () => {
8080
const actions = await getCodeActions(new vscode.Range(6, 16, 6, 19), 10);
8181

82-
expect(actions[0].title).toBe('Add accessibility modifiers');
83-
expect(actions[0].edit).toBeDefined();
82+
const action = actions.find((a) => a.title === 'Add accessibility modifiers');
8483

85-
await vscode.workspace.applyEdit(actions[0].edit!);
84+
expect(action).toBeDefined();
85+
expect(action!.edit).toBeDefined();
86+
87+
await vscode.workspace.applyEdit(action!.edit!);
8688

8789
await expectText(vscode.window.activeTextEditor!.document, [
8890
'using System;',

0 commit comments

Comments
 (0)