Azure / Azure/azure-sdk-tools

AZC0008: ClientOptions should have a nested enum called ServiceVersion should not be triggered for abstract classes

Open
#725 0 comments 0 reactions 1 assignee Claimed by @AlexanderSher View on GitHub
API Analyzer
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

If a `ClientOptions` class is abstract, it should be acceptable to not have a `ServiceVersion` nested type. The concrete implementations should be accountable for that.

https://github.com/Azure/azure-sdk-tools/blob/f65c8752a622c37f8db725278e16aa0823bf8014/src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers/ClientOptionsAnalyzer.cs#L44

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.