FS0760 suggests change that breaks code (Quick Action) #6381
Labels
Area-LangService-CodeFixes
Code fixes associated with diagnostics
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
This working code triggers:
After applying suggested change in Visual Studio the result is:
This code is broken and gives compile error:
The relevant source is here:
CodeFix/AddNewKeywordToDisposableConstructorInvocation.fs
Microsoft Visual Studio Community 2017
![redsquiggle](https://user-images.githubusercontent.com/11903064/55101845-58329480-50c5-11e9-9359-b3b1f818ee6f.png)
Version 15.9.10
VisualStudio.15.Release/15.9.10+28307.557
Microsoft .NET Framework
Version 4.7.03190
The text was updated successfully, but these errors were encountered: