Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Permalink

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/linker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0c359ea
Choose a base ref
...
head repository: dotnet/linker
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d31e26e
Choose a head ref
  • 14 commits
  • 154 files changed
  • 8 contributors

Commits on Sep 11, 2021

  1. Configuration menu
    Copy the full SHA
    be8ec96 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. Configuration menu
    Copy the full SHA
    7c88b9b View commit details
    Browse the repository at this point in the history
  2. Warn on RUC annotated attribute ctors (analyzer) (#2201)

    * Warn on usage of attributes with annotated ctors
    
    * PR feedback
    Add ProducedBy from Test Restructure
    Add support for SetupCompileBefore in the analyzer
    Run analyzer tests on all members (not only methods)
    Move tests to RequiresCapability
    
    * Enable analyzer tests for attributes which use RUC annotated properties
    
    * Lint
    
    * Rename CheckAttributeCtor
    Check for instantiations that set annotated properties
    
    * Apply suggestions from code review
    
    Co-authored-by: Andy Gocke <[email protected]>
    
    * Update comment
    Rename Linker => Trimmer in ProducedBy
    
    * Fix applied suggestions
    
    * Lint
    
    Co-authored-by: Andy Gocke <[email protected]>
    mateoatr and agocke authored Sep 16, 2021
    Configuration menu
    Copy the full SHA
    6f237bb View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2021

  1. Enable nullable on annotations (#2278)

    Enable nullable on Annotations.cs
    Check for null after TryResolve using 'is' keyword in MarkStep()
    tlakollo authored Sep 17, 2021
    Configuration menu
    Copy the full SHA
    8977a27 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2021

  1. Configuration menu
    Copy the full SHA
    29911cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f6ad01 View commit details
    Browse the repository at this point in the history
  3. Mark forwarders for all TypeReferences (#2276) (#2280)

    * Build testcases against reference assemblies
    
    * Reproduce issue in testcase
    
    * Add TypeReferenceMarker
    
    * Update one more testcase
    
    * Don't mark forwarders in TypeReferenceMarker
    
    Leave the logic as before and mark them from MarkStep.
    
    * PR feedback
    
    - Use ref assemblies for ReferenceAttribute
    - Avoid adding to common references unless needed by test dependencies
    sbomer authored Sep 20, 2021
    Configuration menu
    Copy the full SHA
    ff06442 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. Nullable annotations part 3 (#2285)

    * Nullable annotations part 3
    
    * Fix spelling
    sbomer authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    c230fdf View commit details
    Browse the repository at this point in the history
  2. Fix handling of unknown BindingFlags (#2288)

    ` GetDynamicallyAccessedMemberTypesFromBindingFlagsForXXX` would return `DynamicallyAccessedMembers.None` when the binding flags are null/unknown.
    
    This fix is a bit more targeted so that we can potentially take it to 6.0.
    
    In general, there's some duality in how BindingFlags are handled - there are places that call `BindingFlagsAreUnsupported` and avoid `GetDynamicallyAccessedMemberTypesFromBindingFlagsForXXX` for null that way. Others call into this API without checking whether the flags are supported first.
    
    I'm unclear whether it would be more appropriate to check for `BindingFlagsAreUnsupported` in the code I'm adding. It's a valid option as well.
    MichalStrehovsky authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    108fe5b View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. Share logic for discovering typereferences (#2287)

    * Share logic for discovering typereferences
    
    * PR feedback
    
    - Add non-nullable property over "visited" hashset
    - Hide construction/process pattern in static helpers
    sbomer authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    8097e39 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Minor simplification of the type ref walking code (#2293)

    Make the walker a true use-once class.
    vitek-karas authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    c0567db View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Configuration menu
    Copy the full SHA
    04246b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0be1bac View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Make BindingFlagsAreUnsupported more precise (#2296)

    `IgnorableBindingFlags` are all new - we wouldn't consider them supported in the past. I'm also adding `BindingFlags.ExactBinding` in the first group - that one was considered unsupported in the past but this flag just disallows implicit widening and similar things that don't affect our binding logic (I don't think we would ever want to go in that territory).
    MichalStrehovsky authored Sep 29, 2021
    Configuration menu
    Copy the full SHA
    d31e26e View commit details
    Browse the repository at this point in the history
Loading