internal static bool IsOutArgument(IdentifierNameSyntax identifier)
        {
            var argument = identifier.GetSelfOrTopParenthesizedExpression().Parent as ArgumentSyntax;

            return argument != null &&
                argument.RefOrOutKeyword.IsKind(SyntaxKind.OutKeyword);
        }
 private static bool IsExceptionThrow(IdentifierNameSyntax identifier)
 {
     return identifier.GetSelfOrTopParenthesizedExpression().Parent.IsKind(SyntaxKind.ThrowStatement);
 }