[1652] Lingering Issues - string.IsNullOrEmpty in Linq query
When testing for a string being null or empty in a Linq query,
!string.IsNullOrEmpty() returns a run-time error that it is not
supported. Using string != null && string != string.Empty causes R# to
suggest string.IsNullOrEmpty, which, of course, causes the run-time error.
Please sign in to leave a comment.
Are you using .NET 1 ?
VS 2010, C# 4 .NET 4
Eugene Pasynkov wrote:
>
>