public static MemberAccessExpressionSyntax Convert(MemberAccessExpressionSyntax node) { return(node.IsAssertExpression() && Assertions.ContainsKey(node.Name.ToString()) ? CreateAssertExpression(node) : node); }
private static MemberAccessExpressionSyntax ReplaceMemberAccessExpression(MemberAccessExpressionSyntax node) { return(node.IsAssertExpression() && Assertions.ContainsKey(node.Name.ToString()) ? CreateAssertExpression(node) : node); }