AsyncSuffix icon indicating copy to clipboard operation
AsyncSuffix copied to clipboard

Setting to turn off Async suggestion for private methods

Open Allesad opened this issue 8 years ago • 1 comments

For clients of particular type only public method names matters. There is no need to suggest Async suffix for private methods. For example I have public methods which checks for arguments or states and throws exceptions immediately (these methods don't have 'async' keyword for 'fail-fast' reasons). And these methods delegate actual work to some private methods like "DoSomeActionInternal" or something like that. These method are hidden from outer client so it's pretty annoying to have suffix suggestions. It would be nice to have some settings to turn off these suggestions for private methods.

Allesad avatar Oct 19 '16 14:10 Allesad

@Allesad thanks for the suggestion.

Could you please provide me with a test case? Like a sample class with some methods in it, and mark with comments where do you see a false positive warning.

asizikov avatar Oct 19 '16 14:10 asizikov