VSDiagnostics icon indicating copy to clipboard operation
VSDiagnostics copied to clipboard

NonEncapsulatedOrMutableField does not account for ref/out in partial classes

Open Vannevelj opened this issue 8 years ago • 1 comments

It looks for ref/out usages in the current ClassDeclarationSyntax but it doesn't check whether there might be multiple syntax trees to look at. It's the same idea as in https://github.com/Vannevelj/VSDiagnostics/pull/541/files#diff-a0ce80244f17c3c3f091f71c63dabbcbR61

Vannevelj avatar Apr 29 '16 09:04 Vannevelj

Note to self: poke Roslyn team about making the symbolfinder API available to us in an analyzer

Vannevelj avatar Apr 29 '16 09:04 Vannevelj