[release/11.0.1xx-preview7] Source code updates from dotnet/runtime - #7923
#7923Merged
dkurepa merged 6 commits intoJul 24, 2026
release/11.0.1xx-preview7dotnet/dotnet:release/11.0.1xx-preview7from
darc-release/11.0.1xx-preview7-e3f28260-3649-4a2d-9521-a6104c119897dotnet/dotnet:darc-release/11.0.1xx-preview7-e3f28260-3649-4a2d-9521-a6104c119897Copy head branch name to clipboard
Merged
[release/11.0.1xx-preview7] Source code updates from dotnet/runtime#7923dkurepa merged 6 commits intorelease/11.0.1xx-preview7dotnet/dotnet:release/11.0.1xx-preview7from darc-release/11.0.1xx-preview7-e3f28260-3649-4a2d-9521-a6104c119897dotnet/dotnet:darc-release/11.0.1xx-preview7-e3f28260-3649-4a2d-9521-a6104c119897Copy head branch name to clipboard
dkurepa merged 6 commits into
release/11.0.1xx-preview7dotnet/dotnet:release/11.0.1xx-preview7from
darc-release/11.0.1xx-preview7-e3f28260-3649-4a2d-9521-a6104c119897dotnet/dotnet:darc-release/11.0.1xx-preview7-e3f28260-3649-4a2d-9521-a6104c119897Copy head branch name to clipboard
Conversation
Diff: https://github.com/dotnet/runtime/compare/563abf220847ed66cab58f0d7d166cb264874f40..263a47feeed0c833d20e8164ceef32d9af1c879d From: dotnet/runtime@563abf2 To: dotnet/runtime@263a47f [[ commit created by automation ]]
[[ commit created by automation ]]
Contributor
Author
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Member
|
Failure caused by #7872 (comment) |
Diff: https://github.com/dotnet/runtime/compare/263a47feeed0c833d20e8164ceef32d9af1c879d..40636d81c1e23026050c30dcd10e54645a75235d From: dotnet/runtime@263a47f To: dotnet/runtime@40636d8 [[ commit created by automation ]]
Contributor
Author
|
Note PRs from original repository included in this codeflow update: 💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
…System.IsBrowser()
Fixes CA1416 introduced by the runtime JSImportGenerator change (#131055) that
stamps [SupportedOSPlatform("browser")] on generated [JSImport] partial stubs.
Microsoft.JSInterop is a plain library (not browser-narrowed) with warnings-as-errors,
so the unguarded call to the generated DisposeJSObjectReferenceById tripped CA1416.
Guarding with OperatingSystem.IsBrowser() is behavior-neutral since this type is only
constructed by the WASM in-process runtime.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6ada8ade-b30a-4812-b2ba-a6947877fee2
…owser
Fixes CA1416 across Microsoft.JSInterop.WebAssembly and
Microsoft.AspNetCore.Components.WebAssembly caused by the runtime
JSImportGenerator SupportedOSPlatform("browser") change (#131055). These
assemblies only run on the browser (Mono WebAssembly) runtime, so narrowing
their SupportedPlatform to browser resolves every JSImport call site at once.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6ada8ade-b30a-4812-b2ba-a6947877fee2
…ject NoWarn
Replaces the SupportedPlatform Remove/Include browser narrowing (which does not
suppress CA1416 in this SDK) with a zero-cascade per-project NoWarn on
Microsoft.JSInterop.WebAssembly and Microsoft.AspNetCore.Components.WebAssembly.
The JSImportGenerator SupportedOSPlatform("browser") change (dotnet/runtime
#131055) trips CA1416 at every generated [JSImport] call site; these assemblies
only run on the Mono WebAssembly runtime so CA1416 is not meaningful. NoWarn is
used instead of a [SupportedOSPlatform] attribute to avoid cascading CA1416 into
the host-side Microsoft.AspNetCore.Components.WebAssembly.Server.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6ada8ade-b30a-4812-b2ba-a6947877fee2
dkurepa
approved these changes
Jul 24, 2026
dkurepa
deleted the
darc-release/11.0.1xx-preview7-e3f28260-3649-4a2d-9521-a6104c119897
branch
July 24, 2026 08:41
This was referenced Jul 27, 2026
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.
Note
This is a codeflow update. It may contain both source code changes from
the source repo
as well as dependency updates. Learn more here.
This pull request brings the following source code changes
From https://github.com/dotnet/runtime
Diff the source with this PR branch