This repository was archived by the owner on Jul 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
src/Microsoft.DotNet.CodeFormatting/Rules Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) Microsoft. All rights reserved.
2
2
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
3
4
+ using Microsoft . CodeAnalysis ;
5
+ using Microsoft . CodeAnalysis . CSharp ;
4
6
using System ;
5
7
using System . Collections . Generic ;
6
8
using System . ComponentModel . Composition ;
7
- using System . Linq ;
8
9
using System . IO ;
9
- using System . Threading ;
10
- using System . Threading . Tasks ;
11
-
12
- using Microsoft . CodeAnalysis ;
13
- using Microsoft . CodeAnalysis . CSharp ;
10
+ using System . Linq ;
14
11
using System . Reflection ;
15
12
using System . Text ;
13
+ using System . Threading ;
14
+ using System . Threading . Tasks ;
16
15
17
16
namespace Microsoft . DotNet . CodeFormatting . Rules
18
17
{
@@ -25,12 +24,6 @@ internal sealed class HasNoIllegalHeadersFormattingRule : IFormattingRule
25
24
// We are going to remove any multiline comments that *only* contain these characters
26
25
private const string CommentFormattingCharacters = "*/=-" ;
27
26
28
- [ ImportingConstructor ]
29
- public HasNoIllegalHeadersFormattingRule ( )
30
- {
31
-
32
- }
33
-
34
27
public async Task < Document > ProcessAsync ( Document document , CancellationToken cancellationToken )
35
28
{
36
29
var syntaxNode = await document . GetSyntaxRootAsync ( cancellationToken ) as CSharpSyntaxNode ;
You can’t perform that action at this time.
0 commit comments