VSDiagnostics
VSDiagnostics copied to clipboard
NonEncapsulatedOrMutableField does not account for ref/out in partial classes
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
Note to self: poke Roslyn team about making the symbolfinder API available to us in an analyzer