@boxli The error happens because currentText conflicts with an existing variable, and the return type is incorrect. Try renaming the lambda parameter and explicitly converting the result to a list like this:
TextList = TextList.Where(Function(txt) Not txt.Contains("@")).ToList()