-
Notifications
You must be signed in to change notification settings - Fork 128
Comparing changes
Open a pull request
base repository: dotnet/linker
base: 978b631
head repository: dotnet/linker
compare: 1703386
- 18 commits
- 85 files changed
- 5 contributors
Commits on Jun 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7d6b4c4 - Browse repository at this point
Copy the full SHA 7d6b4c4View commit details -
Fix access to derived properties (#2829)
Where the access calls a getter or setter defined on a base class.
Configuration menu - View commit details
-
Copy full SHA for 618eb72 - Browse repository at this point
Copy the full SHA 618eb72View commit details
Commits on Jun 13, 2022
-
Update dependencies from https://github.com/dotnet/arcade build 20220…
…613.1 (#2834) [main] Update dependencies from dotnet/arcade
Configuration menu - View commit details
-
Copy full SHA for 3a515c3 - Browse repository at this point
Copy the full SHA 3a515c3View commit details -
Update dependencies from https://github.com/dotnet/runtime build 2022…
…0612.5 (#2835) [main] Update dependencies from dotnet/runtime
Configuration menu - View commit details
-
Copy full SHA for f8478b2 - Browse repository at this point
Copy the full SHA f8478b2View commit details -
Fix analyzer issues related to visiting assignment targets (#2833)
* Fix event assignment in analyzer * Add field test to simulate EmptyTypes in runtime * Add test for write to captured set-only property * Add test for #2832 * Avoid visiting captured reference operation Since we can't detect whether it is used for reading or writing. Fixes assignment to captured set-only property and assignment to Type.EmptyTypes. * Cleanup * PR feedback - Add more detailed comment - Add tests for property instance visiting
Configuration menu - View commit details
-
Copy full SHA for bac3887 - Browse repository at this point
Copy the full SHA bac3887View commit details -
Mark all type forwarders used during string->Type resolution (#2836)
Previously we only marked the type forwarder for the outer-most type (if any), but the same problem can happen with type names in generic arguments. If they are forwarder we need to mark those type forwarders as well. This change records all type resolutions during the string->Type resolution and then makes sure that all type forwarders used get marked. Renamed a method on HandleCallAction to make it more descriptive of what it actually does. Also unifies all string->Type resolution into the ReflectionMarker. Enabled test which has been already added for the bug and added another variation (CreateInstance). Improved ResultsChecker to include assembly names in validation messages.
Configuration menu - View commit details
-
Copy full SHA for 27b9dd6 - Browse repository at this point
Copy the full SHA 27b9dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93de720 - Browse repository at this point
Copy the full SHA 93de720View commit details
Commits on Jun 14, 2022
-
Re-add static interface trimming with more testing (#2791)
Enables more precise removal of static abstract interface methods and adds more tests than previously. Co-authored-by: Sven Boemer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff646e0 - Browse repository at this point
Copy the full SHA ff646e0View commit details -
Move the ILLink targets from the SDK repo to the linker repo (#2837)
In general, a task invocation in MSBuild and the task definition are inseparable. Adding parameters to the task will either result in errors if the target is updated and too new, or silently skipping the parameter if the target is too old. Best practice is to ship both as a pair to prevent this problem. Testing is harder, but we can add some limited testing if necessary to the linker repo.
Configuration menu - View commit details
-
Copy full SHA for e6685e5 - Browse repository at this point
Copy the full SHA e6685e5View commit details
Commits on Jun 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2abcee1 - Browse repository at this point
Copy the full SHA 2abcee1View commit details -
Analyze implicit indexer reference operations (#2839)
Adds support for `IImplicitIndexerReferenceOperation`, which represents an implicit access to an indexer that uses `System.Index`. Implicit means that there is no `System.Index` accessor in IL, but the compiler supports `System.Index` access via an existing indexer (for example one that takes int) for types that satisfy certain criteria. See https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-8.0/ranges#implicit-index-support for details. This operation only showed up in the CFG with a more recent version of the Roslyn APIs, so this includes an update to match the one used in dotnet/runtime. This resulted in a few changes to the generated code that required tweaking some of the test validation: - Delegate cache fields are emitted. This reuses an existing attribute originally designed for mcs, but it has been updated to check for these compiler-generated fields. - `<PrivateImplementationDetails>.ThrowSwitchExpressionException` is emitted for an implicit unhandled case in switch expressions. This change includes a new attribute to check that this is kept in a few of the tests.
Configuration menu - View commit details
-
Copy full SHA for 226107b - Browse repository at this point
Copy the full SHA 226107bView commit details
Commits on Jun 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4bed0da - Browse repository at this point
Copy the full SHA 4bed0daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e9494e - Browse repository at this point
Copy the full SHA 1e9494eView commit details
Commits on Jun 20, 2022
-
Disable invalid assert and add a test to repro the problem (#2846)
This is a workaround and test for #2845
Configuration menu - View commit details
-
Copy full SHA for 927156e - Browse repository at this point
Copy the full SHA 927156eView commit details -
Update dependencies from https://github.com/dotnet/runtime build 2022…
…0619.5 (#2851) [main] Update dependencies from dotnet/runtime
Configuration menu - View commit details
-
Copy full SHA for 89fdcc2 - Browse repository at this point
Copy the full SHA 89fdcc2View commit details -
Update dependencies from https://github.com/dotnet/arcade build 20220…
…616.2 (#2850) [main] Update dependencies from dotnet/arcade
Configuration menu - View commit details
-
Copy full SHA for f39ce5b - Browse repository at this point
Copy the full SHA f39ce5bView commit details -
Fix package props for older SDKs (#2848)
This should keep the existing package override logic working, since the current SDK will only import the in-box ILLink.Tasks.props if this is not already set.
Configuration menu - View commit details
-
Copy full SHA for 3f3da1d - Browse repository at this point
Copy the full SHA 3f3da1dView commit details -
Seal classes to silence warnings in Preview 5 (#2852)
After updating to SDK Preview 5, there are new warnings about being able to seal classes that breaks the build (CA1852). This PR adds the sealed modifier to classes to silence the warnings.
Configuration menu - View commit details
-
Copy full SHA for 1703386 - Browse repository at this point
Copy the full SHA 1703386View commit details
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 978b631...1703386