AZC0008: ClientOptions should have a nested enum called ServiceVersion should not be triggered for abstract classes
Open
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
Assessment
This issue has not been assessed yet.