Johan Larsson

Results 205 comments of Johan Larsson

![image](https://user-images.githubusercontent.com/1640096/97721682-097f8480-1aca-11eb-9c9b-629b9cd5d633.png) ```cs namespace N { using System.Collections.Generic; public class C { private readonly Dictionary map = new Dictionary(); } } ```

```cs [Test] public static void UsingFieldAfterAssigningOther() { var before = @" namespace N { public class C { private readonly string s1; private readonly string s2; public C(string s1, string...

Too weird for today, failing tests: ```cs [Test] public static void WhenCastAndUnsubscribed() { var before = @" namespace N { using System; using System.ComponentModel; public class C { protected void...

I failed to repro this bug using: ```xml WinExe netcoreapp3.1 true en True True Resources.resx ResXFileCodeGenerator Resources.Designer.cs ``` ```cs public partial class MainWindow : Window { public MainWindow() { this.InitializeComponent();...

Published a new version https://www.nuget.org/packages/Gu.Localization/6.5.0 no intentional fix for this but we can check if it is still an issue. In a test project with no `en` I can see...

Maybe a wait & retry strategy for now?

Would adding the resx as an additional document and then do `text.WithChanges(...)` enable undo? Guess I can try it. Alternatively split it up in two code actions, one that adds...

Yes, that was my question, your name was suggested for who to ask so I pinged you here. Analyzers for xaml would be sweet.

Maybe this should be in UndoScope?

Not sure this will stay, maybe expose a converter.