private static void WalkTree(SemanticModel model, SyntaxNode node, Action<IFieldSymbol> processSymbol)
{
// todo check whether node is reference to a field
// check whether reference is assignment or ref/out param
foreach (var child in node.ChildNodes())
{
if (child is ConstructorDeclarationSyntax)
{
continue;
}
var symbol = model.GetSymbolInfo(child).Symbol as IFieldSymbol;
processSymbol(symbol);
WalkTree(model, child, unassignedSymbols);