Skip to content

Instantly share code, notes, and snippets.

@binki
Created July 27, 2018 01:00
Show Gist options
  • Save binki/bf979cfaeb2ec503a2b6c96ee752de80 to your computer and use it in GitHub Desktop.
Save binki/bf979cfaeb2ec503a2b6c96ee752de80 to your computer and use it in GitHub Desktop.
hexdump of extraneous carriage return in C# file CodeFixed to have missing using statement in visualstudio-15.7.5
binki@DESKTOP-QPI02O2 MSYS ~/source/repos/AddMissingUsingExtraneousCarriageReturn/AddMissingUsingExtraneousCarriageReturn
$ hexdump -C Class2.cs
00000000 ef bb bf 75 73 69 6e 67 20 53 79 73 74 65 6d 2e |...using System.|
00000010 49 4f 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 |IO;..using Syste|
00000020 6d 2e 54 65 78 74 2e 52 65 67 75 6c 61 72 45 78 |m.Text.RegularEx|
00000030 70 72 65 73 73 69 6f 6e 73 3b 0a 0a 6e 61 6d 65 |pressions;..name|
00000040 73 70 61 63 65 20 41 64 64 4d 69 73 73 69 6e 67 |space AddMissing|
00000050 55 73 69 6e 67 45 78 74 72 61 6e 65 6f 75 73 43 |UsingExtraneousC|
00000060 61 72 72 69 61 67 65 52 65 74 75 72 6e 0a 7b 0a |arriageReturn.{.|
00000070 20 20 20 20 63 6c 61 73 73 20 43 6c 61 73 73 32 | class Class2|
00000080 0a 20 20 20 20 7b 0a 20 20 20 20 20 20 20 20 52 |. {. R|
00000090 65 67 65 78 20 52 65 67 65 78 70 20 7b 20 67 65 |egex Regexp { ge|
000000a0 74 3b 20 7d 0a 20 20 20 20 20 20 20 20 54 65 78 |t; }. Tex|
000000b0 74 57 72 69 74 65 72 20 54 65 78 74 57 72 69 74 |tWriter TextWrit|
000000c0 65 72 20 7b 20 67 65 74 3b 20 7d 0a 20 20 20 20 |er { get; }. |
000000d0 7d 0a 7d 0a |}.}.|
000000d4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment