Closed imanushin closed 8 years ago
Thanks for reporting this. However I cannot reproduce with the steps above. It would help if you could attach a sample project.
Before:
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using CheckContracts;
using JetBrains.Annotations;
Expected after:
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using CheckContracts;
using JetBrains.Annotations;
Actual after:
using JetBrains.Annotations; // <--- this line was added after the code fix
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using CheckContracts;
using JetBrains.Annotations;
@imanushin The related fix in roslyn has been merged. This should light up in the next VS release.
Steps to reproduce:
Before:
After: