private Method TraversePrefixUnaryExpressions(PrefixUnaryExpressionSyntax pues) { Method retMethod = new Method(); if (pues.HasLeadingTrivia) { SetOuterComments(retMethod, pues.GetLeadingTrivia().ToFullString()); } if (pues.HasTrailingTrivia) { SetInnerComments(retMethod, pues.GetTrailingTrivia().ToFullString()); } var vars = from aVar in pues.ChildNodes().OfType<IdentifierNameSyntax>() select aVar; foreach (IdentifierNameSyntax ins in vars) { Variables tempVar = new Variables(); tempVar.Name = ins.Identifier.ValueText; retMethod.AccessedVariables.Add(tempVar); } return retMethod; }