Repository navigation
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: dotnet/runtime
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2f18320e73
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: dotnet/runtime
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: da1da02bbd
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 49 files changed
- 6 contributors
Commits on Jun 3, 2023
-
[main] Update dependencies from dotnet/emsdk dotnet/cecil dotnet/sdk (#…
…87054) * Update dependencies from https://github.com/dotnet/emsdk build 20230601.1 Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport From Version 8.0.0-preview.6.23281.1 -> To Version 8.0.0-preview.6.23301.1 * Update dependencies from https://github.com/dotnet/cecil build 20230601.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23265.2 -> To Version 0.11.4-alpha.23301.1 * Update dependencies from https://github.com/dotnet/sdk build 20230602.2 Microsoft.DotNet.ApiCompat.Task From Version 8.0.100-preview.6.23301.17 -> To Version 8.0.100-preview.6.23302.2 --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Larry Ewing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d55017 - Browse repository at this point
Copy the full SHA 9d55017View commit details -
[mono] Use underlying type in RuntimeHelpers.GetSpanDataFrom (#87019)
* [mono] Use underlying type in RuntimeHelpers.GetSpanDataFrom Make it work correctly for spans of enums Fixes #86865 Note that in net8 RuntimeHelpers.CreateSpan<T> is an intrinsic, so GetSpanDataFrom is never called directly. But in net7 CreateSpan is not intrinsified on Mono, so the underlying method really does get called. * test: Print all hidden field names if we can't find the right one
Configuration menu - View commit details
-
Copy full SHA for 75a1806 - Browse repository at this point
Copy the full SHA 75a1806View commit details -
Unify trim warnings for accessing compiler generated code (#86816)
This modifies the behavior of both the illink and ilc to match and to implement some changes we've discussed recently - #86008. The semantic changes (mostly as compared to previous illink behavior): * Reflection access to a RUC virtual method will produce warning on all methods which have RUC, regardless of their relationships. Specifically if both the override and base methods are accessed, and they both have RUC, they will both generate a warning. (This effectively removes an optimization which illink had to avoid "duplicate" warnings where it tried to warn only on the base methods in this case. But this has holes - see #86008). * Reflection access to compiler generated code will not produce warnings even if the target has RUC on it. It proved to be really difficult to design a good experience for reporting warnings in these cases. The problem is that developer has little control over the generated code and fully reporting all warnings leads to lot of noise. The above optimization in the illink tried to solve some of this, but it's not very successful. So we're removing all of these warnings. The reasoning is that reflection access to compiler generated members is an undefined behavior (even on non-trimmed, normal CLR) - and is likely to break for example between compiler versions - and there's no diagnostics about it ignoring trimming. Trimming/AOT just makes it a little bit worse. * AOT compiler will not implement warnings caused by reflection access to compiler generated code which has annotations either (so `IL2118`, `IL2119` and `IL2120`). The plan is to eventually remove these from illink as well. Note that there are exceptions to the above rules, which can be described as: Accessing a token of a member in IL is considered a reflection access (because the token can be turned into a reflection object), but it is also considered a direct reference. So in that case marking is implemented as "reflection access", but diagnostics is implemented as "direct reference". What this means is that accessing a compiler generated member through its token will still produce all warnings (RUC or DAM) as for non-compiler-generated member. This is important for things like creation of `Action` from a lambda, where the lambda is a compiler generated method, but we need to produce warnings if it uses annotations for example. Refactorings: * Refactored code in MarkStep to move most of the diagnostics logic into `ReportWarningsForReflectionAccess` - this is to mirror the design in ilc and also to make it more in sync with the already existing `ReportWarningsForTypeHierarchyReflectionAccess`. Test changes: * Adapting existing tests to the new behavior * Adding some new tests, specifically around reflection access to compiler generated code and token access to compiler generated code. * Enables `CompilerGeneratedCodeAccessedViaReflection` for ilc
Configuration menu - View commit details
-
Copy full SHA for 7319f86 - Browse repository at this point
Copy the full SHA 7319f86View commit details
Commits on Jun 4, 2023
-
Add and use ConfigureAwaitOptions (#87067)
* Add and use ConfigureAwaitOptions Adds the ability to further control how awaits are performed, with the ConfigureAwaitOptions enum. For .NET 8 this is just for `Task` / `Task<TResult>`, and for the latter, the `SuppressThrowing` option isn't supported (as it can make the TResult erroneous). Also uses it throughout the repo to replace various custom awaiters, use of Task.Run, and places we were catching all exceptions to suppress them with awaits. Some of these just help to clean up the code; others have / enable meaningful perf improvements. * Address PR feedback * Update src/libraries/System.Net.HttpListener/src/System/Net/Managed/HttpResponseStream.Managed.cs
Configuration menu - View commit details
-
Copy full SHA for da1da02 - Browse repository at this point
Copy the full SHA da1da02View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2f18320e73...da1da02bbd