DotNetAnalyzers/IDisposableAnalyzers

Document IDISP004 behavior in more detail

ohads-MSFT opened this issue · 1 comments

Would it be possible to document the behavior of IDISP004: Don't ignore created IDisposable in more detail?
The code looks like it considers a lot of cases, but maybe there is some way to explain the behavior in a close enough way?

internal static bool IsCreation(ExpressionSyntax candidate, SemanticModel semanticModel, CancellationToken cancellationToken)