Repository navigation
Comparing changes
Open a pull request
base repository: dotnet/linker
base: dec9a23
head repository: dotnet/linker
compare: 6ffb647
- 7 commits
- 49 files changed
- 5 contributors
Commits on Apr 25, 2022
-
Share MakeGeneric.. and Expression.Call (#2758)
Moves the intrinsic handling of `MakeGenericType`, `MakeGenericMethod` and `Expression.Call` into the shared code. Other changes: * Some small refactorings on the shared type system and value system. * Expose generic parameters on type system proxies * Fix a bug in analyzer when we're recording patterns, the values must be cloned (as they can mutate during analysis after the record is taken) * Fix some problems in Nullable<T> handling in MakeGenericType - specifically if we don't know what the T is going to be, we now return just Nullable<> known type (but unknown T). * Add couple new tests - update existing ones (mainly due to limitation in the analyzer) Co-authored-by: Sven Boemer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf4d43b - Browse repository at this point
Copy the full SHA bf4d43bView commit details -
Update dependencies from https://github.com/dotnet/runtime build 2022…
…0424.3 (#2760) [main] Update dependencies from dotnet/runtime
Configuration menu - View commit details
-
Copy full SHA for f6077cb - Browse repository at this point
Copy the full SHA f6077cbView commit details -
Move shared dataflow value creation helpers out of HandleCallAction (#…
…2757) This builds on the work @jtschuster did in c2fff33 to share code for the annotation checks. I noticed that ReflectionMethodBodyScanner and HandleCallAction started accumulating these helpers for creating dataflow values from methods and I thought it would make sense for that to be handled as a separate concern, so I moved them out to a separate class and adjusted some of the callsites in ReflectionMethodBodyScanner to use the shared version. This was motivated in part by some of the factoring I am doing as a follow-up to 137b7b9, but isn't directly related. (While working on the follow-up, I came across a point where I needed to create a dataflow value in shared code from outside HandleCallAction, and there wasn't a very clean way to do this).
Configuration menu - View commit details
-
Copy full SHA for 4418cce - Browse repository at this point
Copy the full SHA 4418cceView commit details
Commits on Apr 26, 2022
-
Add a test for RUC on type with override method (#2764)
The analyzer produces warning in this case which the linker doesn't. Test for bug #2763
Configuration menu - View commit details
-
Copy full SHA for 0504b19 - Browse repository at this point
Copy the full SHA 0504b19View commit details -
Factor ReflectionMethodBodyScanner to be more similar to analyzer (#2761
) Follow-up to #2747. This is a factoring change only and doesn't introduce functional changes. This does two things to move the method body scanner to be more similar to the trim analysis visitor: - Uses `DiagnosticContext` to record diagnostics. Right now, this still happens inline as we run the scanner, but the idea will be to move this out to a driver that runs the analysis, and then records diagnostics from the recorded patterns (like how it is done in the analyzer) - Moves reflection-marking helpers out of `ReflectionMethodBodyScanner` to a separate class. This prevents us from having to pass around the scanner to other helpers, and makes it more obvious which parts of the code to scanning only vs other things. The new `ReflectionMarker` is conceptually similar to `ReflectionAccessAnalyzer` in the Roslyn analyzer and could be a candidate for future code sharing.
Configuration menu - View commit details
-
Copy full SHA for f26189b - Browse repository at this point
Copy the full SHA f26189bView commit details -
Fix various issues in tlens that prevented running it against a Xamar…
…in.Android app (#2762)
Configuration menu - View commit details
-
Copy full SHA for 24e38a5 - Browse repository at this point
Copy the full SHA 24e38a5View commit details -
Change requires on type checking for mismatch (#2766)
If a member creates a requirement ask the override/virtual member if it fulfills the requirement and only then warns. Fixes #2763
Configuration menu - View commit details
-
Copy full SHA for 6ffb647 - Browse repository at this point
Copy the full SHA 6ffb647View 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 dec9a23...6ffb647