Skip to content

Conversation

@mavasani
Copy link
Contributor

  1. Fix a race condition in IDELatestDiagnosticGetter, when used is concurrent mode it might return incomplete set of diagnostics. This affects both FixAll behavior as well as bulk suppression from error list - we might drop diagnostics from the batch fix.
  2. Thread in the cancellation token into bulk suppression batch fix computation - otherwise IDE becomes unresponsive on cancelling computation of suppressions fix.

1. Fix a race condition in IDELatestDiagnosticGetter, when used is concurrent mode it might return incomplete set of diagnostics. This affects both FixAll behavior as bulk suppression from error list - we might drop diagnostics from the batch fix.

2. Thread in the cancellation token into bulk suppression batch fix computation - otherwise IDE becomes unresponsive on cancelling computation of suppressions fix.
@mavasani
Copy link
Contributor Author

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you comment why this is the right thing? Nothing about there being a document or not indicates to me why we should be concurrent or not. Thanks!

@mavasani
Copy link
Contributor Author

Changes included in #6096, closing this one.

@mavasani mavasani closed this Oct 17, 2015
github-actions bot pushed a commit that referenced this pull request Apr 1, 2025
Suppress CA1305 for `Guid.Parse`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants