1

Closed

Remove use of string.Contains(char) [FixedIn6.1.0-alpha1]

description

Strings are not exposed as enumerables of chars in .NET for Windows Store Apps, so use of the Contains(char) extension methods should be removed.
Closed Oct 11, 2013 at 11:16 PM by maumar
verified, closing

comments

ajcvickers wrote Aug 12, 2013 at 8:06 PM

Fixed in f940613bb909

"...doesn't mean that you have character" (Remove use of string.Contains(char))

.NET for Windows Store Apps doesn't expose strings as an enumerable of characters, which means that the Contains(char) extension method doesn't work. Replaced with Contains(string).

ErikEJ wrote Aug 12, 2013 at 8:25 PM

Why are you suddenly making EF Windows Store App comptible, there is no System.Data in WinRT, afaik ?

jemiller wrote Dec 16, 2013 at 9:34 PM

What I'm wondering is why Windows Store apps apparently are missing methods that are in .NET core classes such as string. Pretty ridiculous if you ask me. This seems like Silverlight all over again, where things are similar, but, not the same. One more reason to avoid Windows Store.