Skip to content

Update SA1119 for stackalloc expressions - #3256

Merged
sharwell merged 2 commits into
DotNetAnalyzers:masterfrom
nxtn:sa1119
Dec 1, 2020
Merged

sharwell merged 2 commits into
DotNetAnalyzers:masterfrom
nxtn:sa1119

Conversation

@nxtn

@nxtn nxtn commented Dec 1, 2020 •

Copy link
Copy Markdown
Contributor

A stackalloc expression inside another expression resolves to a span, although I didn't find this in docs.

image

Comment thread StyleCop.Analyzers/StyleCop.Analyzers.Test/Verifiers/StyleCopCodeFixVerifier`2.cs Outdated
@codecov

codecov Bot commented Dec 1, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #3256 (cbcff6b) into master (78eff0d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3256   +/-   ##
=======================================
  Coverage   94.40%   94.40%           
=======================================
  Files         968      969    +1     
  Lines      108452   108533   +81     
  Branches     3675     3680    +5     
=======================================
+ Hits       102379   102460   +81     
  Misses       5143     5143           
  Partials      930      930           

@sharwell
sharwell merged commit 8d2a0a0 into DotNetAnalyzers:master Dec 1, 2020
@sharwell sharwell added this to the 1.2-beta.next milestone Dec 1, 2020
@nxtn
nxtn deleted the sa1119 branch December 2, 2020 05:42
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.

2 participants