Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit 940c145

Browse files
author
Lakshmi Priya Sekar
committed
Add bug numbers to track todos
1 parent 93fb6b7 commit 940c145

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.DotNet.CodeFormatting/Rules/HasUnderScoreInPrivateFieldNames.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace Microsoft.DotNet.CodeFormatting.Rules
1717
{
1818
// [RuleOrder(10)]
19-
// TODO: Deactivated due to active bug in Roslyn.
19+
// TODO Bug 1086632: Deactivated due to active bug in Roslyn.
2020
// There is a hack to run this rule, but it's slow.
2121
// If needed, enabled rule and enable the hack at the code below in RenameFields.
2222
internal sealed class HasUnderScoreInPrivateFieldNames : IFormattingRule

src/Microsoft.DotNet.CodeFormatting/Rules/IsFormattedFormattingRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ internal sealed class IsFormattedFormattingRule : IFormattingRule
1919
public async Task<Document> ProcessAsync(Document document, CancellationToken cancellationToken)
2020
{
2121
var newDocument = await Formatter.FormatAsync(document, cancellationToken: cancellationToken);
22-
// TODO: Roslyn formatter doesn't format code in #if false as it's considered as DisabledTextTrivia. Will be removed after the bug is fixed.
22+
// TODO Bug 1076609: Roslyn formatter doesn't format code in #if false as it's considered as DisabledTextTrivia. Will be removed after the bug is fixed.
2323
// Doing that manually here
2424
var preprocessorNames = document.DefinedProjectPreprocessorNames();
2525
newDocument = await newDocument.GetNewDocumentWithPreprocessorSymbols(preprocessorNames, cancellationToken);

0 commit comments

Comments
 (0)