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

Merge main back to release/6.0.2xx - #2335

Merged
agocke merged 12 commits into
dotnet:release/6.0.2xxfrom
agocke:release/6.0.2xx
Oct 27, 2021
Merged

agocke merged 12 commits into
dotnet:release/6.0.2xxfrom
agocke:release/6.0.2xx

Conversation

@agocke

@agocke agocke commented Oct 26, 2021

Copy link
Copy Markdown
Member

No description provided.

lbussell and others added 12 commits October 18, 2021 14:18
* Add COM Analyzer

* Add IsComInterop
Run Interop tests

* PR feedback

* Rename variables in GetTestFilesByDirName

* Extend ProducedBy with enum values for each supported analyzer

* Lint

* PR feedback

* Return ProducedBy instead of list
The Ubuntu 16.04 agents were removed from Azure DevOps: actions/runner-images#3287
Actually compare the contents of the embedded resource (not just its existence).
* Nullable annotations part 4 (final)

* PR feedback

- Clean up extra variables introduced as
  nullable versions of existing variables.

* Fix a few annotations

- TryGetMethodStubValue may return null when true
- GetReturnType and GetParameterType may return null in some cases

* More annotations and PR feedback

- Don't resolve a generic typeref that should already be a typedef
- Remove some redundant null checks
- Turn on nullable annotations for ref assembly
- Remove #nullable disable section

* Clean up GetInflatedDeclaringType

- Remove null check
- Replace TryResolve call with an assert
- Add comment and asserts justifying null-forgiving operator

* Replace exception with assert in accessors

* PR feedback

- Add parens to improve readability
- Throw on diagnostic without message
- Remove unnecessary string.empty

* Undo DiagnosticString change

- Some DiagnosticIds intentionally have no fixed format strings because
  we generate different strings in different circumstances.
* Use all analyzers for each linker's test run

* Remove SimpleAnalyzerOptions from CSharpAnalyzerVerifier
@agocke
agocke merged commit cc72b92 into dotnet:release/6.0.2xx Oct 27, 2021
@agocke
agocke deleted the release/6.0.2xx branch October 27, 2021 17:45
@marek-safar

Copy link
Copy Markdown
Contributor

This PR is wrong we should not push main dependencies update to 6.0 branches.

@agocke

agocke commented Oct 27, 2021 •

Copy link
Copy Markdown
Member Author

I audited each commit -- the main branch was effectively tracking 6.0.2xx, except for two changes that we made in main that should not go into 6.0. I reverted those two in the base branch.

@marek-safar

Copy link
Copy Markdown
Contributor

That's not what I'm seeing in the branch. For example, you pushed non-LTS 7.0 arcade changes to LTS 6.0 branch which is one of the problems with doing such merges and breaking the support policy.

agocke added a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Merge main back to release/6.0.2xx

Commit migrated from dotnet/linker@cc72b92
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants