Skip to content

Add CA1837 Use Environment.ProcessId - #3838

Merged
stephentoub merged 2 commits into
dotnet:masterfrom
stephentoub:useenvironmentprocessid
Jul 24, 2020
Merged

stephentoub merged 2 commits into
dotnet:masterfrom
stephentoub:useenvironmentprocessid

Conversation

@stephentoub

@stephentoub stephentoub commented Jul 8, 2020

Copy link
Copy Markdown
Member

New API being added for .NET 5 in dotnet/runtime#38908
cc: @bartonjs

@mavasani mavasani left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Minor suggestion on handling trivia and potential DFA enhancement as a follow-up change.

@codecov

codecov Bot commented Jul 8, 2020

Copy link
Copy Markdown

Codecov Report

Merging #3838 into master will increase coverage by 0.00%.
The diff coverage is 98.00%.

@@           Coverage Diff            @@
##           master    #3838    +/-   ##
========================================
  Coverage   95.59%   95.59%            
========================================
  Files        1143     1146     +3     
  Lines      251432   251683   +251     
  Branches    15086    15094     +8     
========================================
+ Hits       240357   240603   +246     
- Misses       9146     9149     +3     
- Partials     1929     1931     +2     

@stephentoub
stephentoub merged commit 1fda2cc into dotnet:master Jul 24, 2020
@stephentoub
stephentoub deleted the useenvironmentprocessid branch July 24, 2020 23:36
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.

5 participants