Skip to content

Commit 554a1dd

Browse files
Remove unnecessary imports (#77481)
2 parents 55191f6 + 58c992f commit 554a1dd

File tree

1,055 files changed

+4
-1406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,055 files changed

+4
-1406
lines changed

src/Analyzers/CSharp/Analyzers/AddAccessibilityModifiers/CSharpAddAccessibilityModifiers.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using Microsoft.CodeAnalysis.CSharp.Syntax;
99
using Microsoft.CodeAnalysis.LanguageService;
1010
using Microsoft.CodeAnalysis.Shared.Extensions;
11-
using Roslyn.Utilities;
1211

1312
namespace Microsoft.CodeAnalysis.CSharp.AddOrRemoveAccessibilityModifiers;
1413

src/Analyzers/CSharp/Analyzers/AddBraces/CSharpAddBracesDiagnosticAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
using Microsoft.CodeAnalysis.Diagnostics;
1212
using Microsoft.CodeAnalysis.Shared.Extensions;
1313
using Microsoft.CodeAnalysis.Text;
14-
using Roslyn.Utilities;
1514
using FormattingRangeHelper = Microsoft.CodeAnalysis.CSharp.Utilities.FormattingRangeHelper;
1615

1716
namespace Microsoft.CodeAnalysis.CSharp.Diagnostics.AddBraces;

src/Analyzers/CSharp/Analyzers/AddRequiredParentheses/CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using Microsoft.CodeAnalysis.CSharp.Precedence;
1010
using Microsoft.CodeAnalysis.CSharp.Syntax;
1111
using Microsoft.CodeAnalysis.Diagnostics;
12-
using Roslyn.Utilities;
1312

1413
namespace Microsoft.CodeAnalysis.CSharp.AddRequiredParentheses;
1514

src/Analyzers/CSharp/Analyzers/ConvertNamespace/ConvertToBlockScopedNamespaceDiagnosticAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
88
using Microsoft.CodeAnalysis.CSharp.Syntax;
99
using Microsoft.CodeAnalysis.Diagnostics;
10-
using Microsoft.CodeAnalysis.Options;
1110
using Microsoft.CodeAnalysis.Text;
1211

1312
namespace Microsoft.CodeAnalysis.CSharp.ConvertNamespace;

src/Analyzers/CSharp/Analyzers/ConvertNamespace/ConvertToFileScopedNamespaceDiagnosticAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
88
using Microsoft.CodeAnalysis.CSharp.Syntax;
99
using Microsoft.CodeAnalysis.Diagnostics;
10-
using Microsoft.CodeAnalysis.Options;
1110
using Microsoft.CodeAnalysis.Text;
1211

1312
namespace Microsoft.CodeAnalysis.CSharp.ConvertNamespace;

src/Analyzers/CSharp/Analyzers/ConvertSwitchStatementToExpression/ConvertSwitchStatementToExpressionDiagnosticAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using System.Linq;
88
using Microsoft.CodeAnalysis.CodeStyle;
99
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
10-
using Microsoft.CodeAnalysis.CSharp.Diagnostics;
1110
using Microsoft.CodeAnalysis.CSharp.Extensions;
1211
using Microsoft.CodeAnalysis.CSharp.Syntax;
1312
using Microsoft.CodeAnalysis.Diagnostics;

src/Analyzers/CSharp/Analyzers/ConvertSwitchStatementToExpression/ConvertSwitchStatementToExpressionHelpers.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
using Microsoft.CodeAnalysis.CSharp.Extensions;
65
using Microsoft.CodeAnalysis.CSharp.Syntax;
76

87
namespace Microsoft.CodeAnalysis.CSharp.ConvertSwitchStatementToExpression;

src/Analyzers/CSharp/Analyzers/ConvertTypeofToNameof/CSharpConvertTypeOfToNameOfDiagnosticAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
using Microsoft.CodeAnalysis.ConvertTypeOfToNameOf;
66
using Microsoft.CodeAnalysis.CSharp.Extensions;
7-
using Microsoft.CodeAnalysis.CSharp.Shared.Extensions;
87
using Microsoft.CodeAnalysis.CSharp.Syntax;
98
using Microsoft.CodeAnalysis.Diagnostics;
109

src/Analyzers/CSharp/Analyzers/FileHeaders/CSharpFileHeaderHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System;
66
using Microsoft.CodeAnalysis.CSharp.LanguageService;
77
using Microsoft.CodeAnalysis.FileHeaders;
8-
using Roslyn.Utilities;
98

109
namespace Microsoft.CodeAnalysis.CSharp.FileHeaders;
1110

src/Analyzers/CSharp/Analyzers/InvokeDelegateWithConditionalAccess/InvokeDelegateWithConditionalAccessAnalyzer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
using System;
66
using System.Collections.Immutable;
7-
using System.Threading;
87
using Microsoft.CodeAnalysis.CodeStyle;
98
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
109
using Microsoft.CodeAnalysis.CSharp.Extensions;

0 commit comments

Comments
 (0)