-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not convert immutable arrays on downlevel runtimes #69520
Do not convert immutable arrays on downlevel runtimes #69520
Conversation
@@ -21,7 +21,7 @@ | |||
<!-- Versions used by several individual references below --> | |||
<RoslynDiagnosticsNugetPackageVersion>3.11.0-beta1.23364.2</RoslynDiagnosticsNugetPackageVersion> | |||
<MicrosoftCodeAnalysisNetAnalyzersVersion>8.0.0-preview.23364.2</MicrosoftCodeAnalysisNetAnalyzersVersion> | |||
<MicrosoftCodeAnalysisTestingVersion>1.1.2-beta1.23407.1</MicrosoftCodeAnalysisTestingVersion> | |||
<MicrosoftCodeAnalysisTestingVersion>1.1.2-beta1.23411.1</MicrosoftCodeAnalysisTestingVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed so we get the right .net80 dlls that properly add the CollectionBuilderAttribute to the immutable collections.
@CyrusNajmabadi Disabled auto-merge on this one to consider another option |
src/Analyzers/CSharp/Analyzers/UseCollectionExpression/UseCollectionExpressionHelpers.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other value types are impacted by the same issue, so requesting it be addressed per the more comprehensive condition given in a code comment.
Such a change can happen in a followup PR. This is the known bad case we have to fix asap.
Fixes #69507