dotnet/roslyn
Vedi su GitHubAbstractSuppressionCodeFixProvider replaces LF with CRLF
Open
#69.358 aperta il 3 ago 2023
Area-IDEBughelp wanted
Metriche repository
- Star
- (20.414 star)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
Version Used: Version 17.8.0 Preview 1.0 [33916.57.main]
Steps to Reproduce:
This issue tracks multiple disabled tests in code.
- Open a file with LF line endings in a project with
end_of_lineunset (Windows only) or explicitly set to CRLF - Place the caret on a line with a diagnostic
- Suppress the diagnostic via the light bulb with a
#pragma warning disableor#Disable Warning
Expected Behavior:
The file retains its LF line endings, including on the two newly inserted lines.
Actual Behavior:
The file has mixed line endings.