Skip to content

Commit 677526b

Browse files
authored
remove namespace analyzer (#8164)
1 parent 7aa895e commit 677526b

3 files changed

Lines changed: 0 additions & 276 deletions

File tree

src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs

Lines changed: 0 additions & 176 deletions
This file was deleted.

src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientAssemblyNamespaceAnalyzer.cs

Lines changed: 0 additions & 94 deletions
This file was deleted.

src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/Descriptors.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@ namespace Azure.ClientSdk.Analyzers
77
{
88
internal class Descriptors
99
{
10-
private static readonly string AZC0001Title = "Use one of the following pre-approved namespace groups (https://azure.github.io/azure-sdk/registered_namespaces.html): " + string.Join(", ", ClientAssemblyNamespaceAnalyzer.AllowedNamespacePrefix);
11-
1210
#region Guidelines
13-
public static DiagnosticDescriptor AZC0001 = new DiagnosticDescriptor(
14-
nameof(AZC0001), AZC0001Title,
15-
"Namespace '{0}' shouldn't contain public types. " + AZC0001Title, DiagnosticCategory.Usage, DiagnosticSeverity.Warning, true);
16-
1711
public static DiagnosticDescriptor AZC0002 = new DiagnosticDescriptor(
1812
nameof(AZC0002),
1913
"DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called 'cancellationToken' or a RequestContext parameter called 'context'.",

0 commit comments

Comments
 (0)