I have the following function:
private static string SanitizeVersionStringFromUnit(string version) { var santizedString = new string(version.Where(char.IsLetterOrDigit).ToArray()); ; return santizedString; }
However, intellisense tells me that the line does not contain a Where definition and that the extension method was not found. I have using System.Linq; declared in the file. In a project other than Xamarin, this code works fine.
This is the PCL Xamarin.Forms project in the VS2015 community. What gives?
source share