I\'m trying to use Roslyn to determine the publically-exposed API of a project (and then do some further processing using this information, so I can\'t just use reflection).
You need to remember that a field declaration syntax can declare multiple fields. So you want:
foreach (var variable in node.Declaration.Variables) { var fieldSymbol = model.GetDeclaredSymbol(variable); // Do stuff with the symbol here }