Skip to content

Commit 5433bc4

Browse files
committed
Removed all unused usings.
1 parent aa1aabb commit 5433bc4

File tree

1,560 files changed

+1
-7119
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,560 files changed

+1
-7119
lines changed

src/ApiCompat/Microsoft.DotNet.ApiCompat.Shared/ApiCompatServiceProvider.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
54
using Microsoft.DotNet.ApiCompatibility;
65
using Microsoft.DotNet.ApiCompatibility.Comparing;
76
using Microsoft.DotNet.ApiCompatibility.Logging;

src/ApiCompat/Microsoft.DotNet.ApiCompat.Shared/RegexStringTransformer.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
54
using System.Text.RegularExpressions;
65

76
namespace Microsoft.DotNet.ApiCompat

src/ApiCompat/Microsoft.DotNet.ApiCompat.Shared/RoslynResolver.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.IO;
64
using System.Reflection;
75
#if NETCOREAPP
86
using System.Runtime.Loader;

src/ApiCompat/Microsoft.DotNet.ApiCompat.Shared/SuppressionFileHelper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.DotNet.ApiCompatibility.Logging;
65
using Microsoft.DotNet.ApiSymbolExtensions.Logging;
76

src/ApiCompat/Microsoft.DotNet.ApiCompat.Shared/ValidateAssemblies.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.IO;
74
using Microsoft.DotNet.ApiCompatibility;
85
using Microsoft.DotNet.ApiCompatibility.Logging;
96
using Microsoft.DotNet.ApiCompatibility.Rules;

src/ApiCompat/Microsoft.DotNet.ApiCompat.Shared/ValidatePackage.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using Microsoft.DotNet.ApiCompatibility.Logging;
75
using Microsoft.DotNet.ApiCompatibility.Rules;
86
using Microsoft.DotNet.PackageValidation;

src/ApiCompat/Microsoft.DotNet.ApiCompat.Task/ValidateAssembliesTask.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.IO;
64
using Microsoft.Build.Framework;
75
using Microsoft.DotNet.ApiCompatibility.Logging;
86
using Microsoft.NET.Build.Tasks;

src/ApiCompat/Microsoft.DotNet.ApiCompat.Task/ValidatePackageTask.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using Microsoft.Build.Framework;
75
using Microsoft.DotNet.ApiCompatibility.Logging;
8-
using Microsoft.DotNet.PackageValidation;
96
using Microsoft.NET.Build.Tasks;
107
using NuGet.Frameworks;
118

src/ApiCompat/Microsoft.DotNet.ApiCompat.Tool/Program.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using System.CommandLine;
75
using System.CommandLine.Parsing;
86
using System.Diagnostics;
9-
using System.IO;
107
using System.Reflection;
118
using Microsoft.DotNet.ApiCompatibility.Logging;
129
using Microsoft.DotNet.ApiSymbolExtensions.Logging;

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/ApiComparer.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.Linq;
74
using Microsoft.CodeAnalysis;
85
using Microsoft.DotNet.ApiCompatibility.Mapping;
96
using Microsoft.DotNet.ApiCompatibility.Rules;

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/ApiComparerFactory.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
54
using Microsoft.DotNet.ApiCompatibility.Mapping;
65
using Microsoft.DotNet.ApiCompatibility.Rules;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/ApiComparerSettings.cs

-1
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

44
using Microsoft.CodeAnalysis;
5-
using System.Collections.Generic;
65
using Microsoft.DotNet.ApiCompatibility.Mapping;
76
using Microsoft.DotNet.ApiCompatibility.Rules;
87
using Microsoft.DotNet.ApiCompatibility.Comparing;

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Comparing/AttributeDataEqualityComparer.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using System.Diagnostics.CodeAnalysis;
7-
using System.Linq;
85
using Microsoft.CodeAnalysis;
96

107
namespace Microsoft.DotNet.ApiCompatibility.Comparing

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Comparing/NamedArgumentComparer.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using System.Diagnostics.CodeAnalysis;
75
using Microsoft.CodeAnalysis;
86

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Comparing/SymbolEqualityComparer.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using System.Diagnostics.CodeAnalysis;
75
using Microsoft.CodeAnalysis;
86
using Microsoft.DotNet.ApiSymbolExtensions;

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Comparing/TypedConstantEqualityComparer.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using System.Diagnostics.CodeAnalysis;
7-
using System.Linq;
85
using Microsoft.CodeAnalysis;
96

107
namespace Microsoft.DotNet.ApiCompatibility.Comparing

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/CompatDifference.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using Microsoft.CodeAnalysis;
75
using Microsoft.DotNet.ApiSymbolExtensions;
86

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/DifferenceVisitor.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.DotNet.ApiCompatibility.Mapping;
65

76
namespace Microsoft.DotNet.ApiCompatibility

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/IApiComparer.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65

76
namespace Microsoft.DotNet.ApiCompatibility

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/IDifferenceVisitor.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.DotNet.ApiCompatibility.Mapping;
65

76
namespace Microsoft.DotNet.ApiCompatibility

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Logging/ISuppressionEngine.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
5-
64
namespace Microsoft.DotNet.ApiCompatibility.Logging
75
{
86
/// <summary>

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Logging/Suppression.cs

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.Text;
7-
84
namespace Microsoft.DotNet.ApiCompatibility.Logging
95
{
106
/// <summary>

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Logging/SuppressionEngine.cs

-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.IO;
7-
using System.Linq;
8-
using System.Text;
94
using System.Xml;
105
using System.Xml.Serialization;
116

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/AssemblyMapper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65
using Microsoft.DotNet.ApiCompatibility.Rules;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/AssemblySetMapper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65
using Microsoft.DotNet.ApiCompatibility.Rules;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/ElementMapper.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using Microsoft.DotNet.ApiCompatibility.Rules;
75

86
namespace Microsoft.DotNet.ApiCompatibility.Mapping

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/IAssemblyMapper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65

76
namespace Microsoft.DotNet.ApiCompatibility.Mapping

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/IAssemblySetMapper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65

76
namespace Microsoft.DotNet.ApiCompatibility.Mapping

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/IElementMapper.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
5-
64
namespace Microsoft.DotNet.ApiCompatibility.Mapping
75
{
86
/// <summary>

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/IMapperSettings.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65
using Microsoft.DotNet.ApiSymbolExtensions.Filtering;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/INamespaceMapper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65

76
namespace Microsoft.DotNet.ApiCompatibility.Mapping

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/ITypeMapper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65

76
namespace Microsoft.DotNet.ApiCompatibility.Mapping

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/NamespaceMapper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65
using Microsoft.DotNet.ApiCompatibility.Rules;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Mapping/TypeMapper.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using System.Diagnostics;
65
using Microsoft.CodeAnalysis;
76
using Microsoft.DotNet.ApiCompatibility.Rules;

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/MetadataInformation.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
6-
74
namespace Microsoft.DotNet.ApiCompatibility
85
{
96
/// <summary>

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/AssemblyIdentityMustMatch.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.Text;
74
using Microsoft.CodeAnalysis;
85
using Microsoft.DotNet.ApiCompatibility.Logging;
96
using Microsoft.DotNet.ApiSymbolExtensions.Logging;

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/AttributesMustMatch.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
54
using System.Collections;
6-
using System.Collections.Generic;
75
using System.Collections.Immutable;
86
using System.Diagnostics.CodeAnalysis;
97
using Microsoft.CodeAnalysis;

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/CannotAddAbstractMember.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65
using Microsoft.DotNet.ApiSymbolExtensions;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/CannotAddMemberToInterface.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65

76
namespace Microsoft.DotNet.ApiCompatibility.Rules

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/CannotAddOrRemoveVirtualKeyword.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65
using Microsoft.DotNet.ApiSymbolExtensions;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/CannotChangeParameterName.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using System.Diagnostics;
65
using Microsoft.CodeAnalysis;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/CannotChangeVisibility.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System;
5-
using System.Collections.Generic;
64
using Microsoft.CodeAnalysis;
75

86
namespace Microsoft.DotNet.ApiCompatibility.Rules

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/CannotRemoveBaseTypeOrInterface.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65
using Microsoft.DotNet.ApiSymbolExtensions;
76

src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Rules/CannotSealType.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using System.Collections.Generic;
54
using Microsoft.CodeAnalysis;
65
using Microsoft.DotNet.ApiSymbolExtensions;
76

0 commit comments

Comments
 (0)