-
Notifications
You must be signed in to change notification settings - Fork 222
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
S3900: ShouldExecute method #6942
Merged
pavel-mikula-sonarsource
merged 39 commits into
feature/SE
from
Zsolt/S3900-ShouldExecute
Mar 28, 2023
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
252f90e
Implement ShouldExecute method
zsolt-kolbay-sonarsource ac8b5b9
Simplify accessibility checks
zsolt-kolbay-sonarsource f771f6b
Add test cases for accessibility
zsolt-kolbay-sonarsource 19f3a6e
Review: formatting and indexers
zsolt-kolbay-sonarsource 92f36d9
Review: IsKind -> IsAnyKind
zsolt-kolbay-sonarsource 4b74bab
Review: simplify method calls
zsolt-kolbay-sonarsource d7aa6da
Review: update test cases
zsolt-kolbay-sonarsource 58b2aec
Review: add test case for event handlers
zsolt-kolbay-sonarsource 1e44ba6
Review: skip static local functions and static lambdas
zsolt-kolbay-sonarsource 4eac184
Review: exclude out parameters
zsolt-kolbay-sonarsource 9cf28ba
Review: change identifier parent check
zsolt-kolbay-sonarsource 920a1db
Review: fix typo
zsolt-kolbay-sonarsource d9aade8
Review: support unsafe member access
zsolt-kolbay-sonarsource f1f461b
Review: fix test case
zsolt-kolbay-sonarsource ee50411
Review: remove support unsafe pointer access
zsolt-kolbay-sonarsource 07cbfe2
Review: simplify check for out parameters
zsolt-kolbay-sonarsource 8302f0c
Review: check file accessibility
zsolt-kolbay-sonarsource 1293d4f
Review: re-add unsafe method check
zsolt-kolbay-sonarsource 7727165
Review: add more test cases for file modifier
zsolt-kolbay-sonarsource 04d83e1
Remove support for unsafe code (SE doesn't fully support unsafe membe…
zsolt-kolbay-sonarsource 9bb566f
Review: add accessibility test cases
zsolt-kolbay-sonarsource 5ca2e7a
Review: change accessibility check
zsolt-kolbay-sonarsource d4c590c
Remove unnecessary checks
zsolt-kolbay-sonarsource d1129e5
Review: remove trailing whitespace
zsolt-kolbay-sonarsource 075267e
Review: remove static modifiers
zsolt-kolbay-sonarsource f3653b5
Review: check lambdas + formatting
zsolt-kolbay-sonarsource f00d2fa
Review: add test cases for anonym methods
zsolt-kolbay-sonarsource 038675f
Review: add test case for static lambda and deeper nested classes
zsolt-kolbay-sonarsource 3aafe46
Review: remove unused method
zsolt-kolbay-sonarsource 2ee8f93
Review: simplify lambda test cases
zsolt-kolbay-sonarsource d71ba7a
Review: move expression to a single line
zsolt-kolbay-sonarsource 860775d
Review: refactor MethodDereferencesArguments method
zsolt-kolbay-sonarsource a860ce0
Review: simplify syntax tree traversal
zsolt-kolbay-sonarsource d0bbd81
Simplify enum access
zsolt-kolbay-sonarsource 024fe9c
Review: use HashSet instead of array
zsolt-kolbay-sonarsource 0d1eec8
Update test cases and formatting
zsolt-kolbay-sonarsource 0ed8e7e
Update ITs
zsolt-kolbay-sonarsource ee347d8
Remove unneede file
zsolt-kolbay-sonarsource 1daac54
Re-add PreProcess method
zsolt-kolbay-sonarsource File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
388 changes: 311 additions & 77 deletions
388
analyzers/its/expected/Automapper/AutoMapper--net461-S3900.json
Large diffs are not rendered by default.
Oops, something went wrong.
388 changes: 311 additions & 77 deletions
388
analyzers/its/expected/Automapper/AutoMapper--netstandard2.0-S3900.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Interesting FP, we don't support
Object.ReferenceEquals