Azure / Azure/azure-sdk-tools

.NET APIView not showing [Serializable] attribute

Open
#7,343 1 comment 0 reactions 0 assignees View on GitHub
.NET APIView
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

The Azure.Core RequestFailedException type is [marked with the [Serializable] attribute](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/src/RequestFailedException.cs#L20), this doesn't show up in the [APIView for RequestFailedException](https://apiview.dev/Assemblies/Review/77bdbcef49a3465fa96fac3fb745bf57#Azure.RequestFailedException).

It looks like it also doesn't show up in the generated API listing: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/api/Azure.Core.net6.0.cs#L221.

If this is not by-design, it would be helpful to display this attribute in the APIView. Thanks!

Contributor guide

Open the contributing guide

Research direction

Start with the linked RequestFailedException.cs declaration and compare it with the Azure.Core.net6.0.cs generated API listing and the APIView entry. Determine whether [Serializable] is intentionally omitted or should be represented, then verify that the APIView and generated listing show the attribute consistently when the work is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.