We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741577c commit 9e20f25Copy full SHA for 9e20f25
src/ReactiveUI/Platforms/uap10.0.16299/WinRTAppDataDriver.cs
@@ -31,7 +31,7 @@ public IObservable<object> LoadState()
31
.SelectMany(x => FileIO.ReadTextAsync(x, UnicodeEncoding.Utf8))
32
.SelectMany(x =>
33
{
34
- var line = x.IndexOf('\n');
+ var line = x.IndexOf('\n', StringComparison.InvariantCulture);
35
var typeName = x.Substring(0, line - 1); // -1 for CR
36
var serializer = new DataContractSerializer(Type.GetType(typeName));
37
0 commit comments