Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the codebase for .NET 11 Preview 4 and related dependency/analyzer changes, while adjusting compiler, language service, NuGet, and disposal behavior needed by the newer toolchain.
Changes:
- Bumps SDK, MSTest SDK, and central package versions for .NET 11 Preview 4.
- Adds/updates disposal ownership handling across compiler, worker, app, and tests.
- Improves script diagnostics/return-value behavior and NuGet.org redirected-source handling.
Reviewed changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
global.json |
Updates .NET SDK/workload and MSTest SDK versions. |
Directory.Packages.props |
Updates package versions and central package pins. |
.globalconfig |
Raises disposable-related analyzer severities. |
.vscode/tasks.json |
Adds a VS Code watch task. |
src/App/App.cs |
Registers the new local storage service. |
src/App/App.csproj |
Removes Blazored.LocalStorage dependency. |
src/App/_Imports.razor |
Removes Blazored.LocalStorage import. |
src/App/Utils/LocalStorageService.cs |
Adds an internal local storage abstraction/implementation. |
src/App/Utils/LocalStorageUtil.cs |
Updates local storage helper imports. |
src/App/Lab/Page.razor |
Disposes cursor synchronization and input lock resources. |
src/App/Lab/LanguageServicesClient.cs |
Adds async disposal for Monaco providers and debounce CTS cleanup. |
src/App/Lab/CursorSynchronizer.cs |
Tracks and disposes cursor subscriptions. |
src/App/Lab/WorkerController.cs |
Disposes worker guard semaphore. |
src/App/Lab/InputOutputCache.cs |
Disposes HTTP request/response resources. |
src/App/Lab/CommitHashView.razor |
Disposes async lock resource. |
src/Compiler/Compiler.csproj |
Adds C# scripting package reference. |
src/Compiler/Compiler.cs |
Adds script return formatting and PE/PDB disposal ownership. |
src/Compiler/LanguageServices.cs |
Makes language services disposable and updates script document handling. |
src/Compiler/FileLevelDirectiveParser.cs |
Disposes tokenizer. |
src/Compiler/RefAssemblyMetadata.cs |
Suppresses CA2000 where metadata ownership is transferred. |
src/Shared/Executor.cs |
Supports formatted script return values and disposes renderer. |
src/Shared/AsyncLock.cs |
Separates lock scope disposal from lock object disposal. |
src/Shared/Util.cs |
Adds nullable ValueTask await helper and assembly path fallback. |
src/Worker/Lab/CompilerProxy.cs |
Disposes superseded compiler load contexts and adjusts default assembly loading. |
src/Worker/Lab/NuGetDownloader.cs |
Adds redirected NuGet.org source handling and source-failure fallbacks. |
src/Worker/Lab/SdkDownloader.cs |
Disposes HTTP responses/requests. |
src/WorkerApi/Utils/SimpleNuGetUtil.cs |
Tracks NuGet.org-compatible hosts. |
src/Server/Properties/launchSettings.json |
Disables automatic browser launch. |
test/UnitTests/LanguageServiceTests.cs |
Adds script rename diagnostics coverage and disposes test handler. |
test/UnitTests/ExecutorTests.cs |
Adds script return output coverage and updates script stdout expectations. |
test/UnitTests/CompilerProxyTests.cs |
Disposes mock HTTP handlers in tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.