Contribute to StyleCop SA1002 (semicolon spacing)
authorStephen Toub <stoub@microsoft.com>
Thu, 22 Aug 2019 17:10:47 +0000 (13:10 -0400)
committerStephen Toub <stoub@microsoft.com>
Mon, 26 Aug 2019 02:11:44 +0000 (22:11 -0400)
commit832d433fdce23d1b649fb0e42565260063a4e73d
treeaac6e8dd4e9423e99f9e9be2c9f73be28e4eb96c
parent2ad0afa6f68c565473e68dceba9399a8e2cdc61c
Contribute to StyleCop SA1002 (semicolon spacing)

However, I'm not enabling the rule permanently, as it disagrees with VS IDE0055 about the spacing around semicolons at the end of empty while and for loops.

Because this also impacts `for (;;)` loops, I also searched and replaced those with `while (true)`, to standardize on that across the codebase.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/63c09bbf88cc6524ea8478fdea430ba45275a933
src/libraries/System.Private.CoreLib/src/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Signed.N.cs
src/libraries/System.Private.CoreLib/src/System/Buffers/Text/Utf8Parser/Utf8Parser.Integer.Unsigned.N.cs
src/libraries/System.Private.CoreLib/src/System/Convert.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/ActivityTracker.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventProvider.cs
src/libraries/System.Private.CoreLib/src/System/Number.Formatting.cs
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.Byte.cs
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs