Skip to content
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

Update SA1116 and SA1117 to handle target-typed new (C# 9) #3408

Conversation

bjornhellander
Copy link
Contributor

Fixes #3369

@codecov
Copy link

codecov bot commented Nov 27, 2021

Codecov Report

Merging #3408 (86cceed) into master (aacf8a5) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3408      +/-   ##
==========================================
+ Coverage   93.09%   93.12%   +0.02%     
==========================================
  Files        1038     1040       +2     
  Lines      111809   111887      +78     
  Branches     3969     3969              
==========================================
+ Hits       104089   104194     +105     
+ Misses       6702     6673      -29     
- Partials     1018     1020       +2     

@sharwell sharwell merged commit 9724e3d into DotNetAnalyzers:master Dec 8, 2021
@sharwell sharwell added this to the 1.2-beta.next milestone Dec 8, 2021
@bjornhellander bjornhellander deleted the feature/Issue3369TargetTypedNew branch May 2, 2022 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SA1116/1117 parameter rules don't apply to C# 9 new() expression
2 participants