Skip to content

Commit

Permalink
remove namespace analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
maririos committed Apr 26, 2024
1 parent 478ff5c commit 0622a91
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 276 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ namespace Azure.ClientSdk.Analyzers
{
internal class Descriptors
{
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);

#region Guidelines
public static DiagnosticDescriptor AZC0001 = new DiagnosticDescriptor(
nameof(AZC0001), AZC0001Title,
"Namespace '{0}' shouldn't contain public types. " + AZC0001Title, DiagnosticCategory.Usage, DiagnosticSeverity.Warning, true);

public static DiagnosticDescriptor AZC0002 = new DiagnosticDescriptor(
nameof(AZC0002),
"DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called 'cancellationToken' or a RequestContext parameter called 'context'.",
Expand Down

0 comments on commit 0622a91

Please sign in to comment.