dotnet / dotnet/dotnet-api-docs
SuppressGCTransitionAttribute only applies to methods decorated with DllImportAttribute?
オープン
:watch: Not Triaged
area-System.Runtime.InteropServices
untriaged
- 主要言語
- C#
- スター
- 949
- フォーク
- 1.7k
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 52
説明
### Describe the issue or suggestion
According to the doc page for [SuppressGCTransitionAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.suppressgctransitionattribute?view=net-9.0), this attribute only applies to methods that were decorated with **DllImportAttribute**.
I assume this attribute also applies to method decorated with **LibraryImportAttribute**, no?
コントリビューションガイド
調査の方向性
リンクされている SuppressGCTransitionAttribute のドキュメントから始め、そこに記載されている DllImportAttribute の制限を、LibraryImportAttribute の動作およびドキュメントと比較します。その制限で両方の属性に言及すべきか確認し、関連する文言を更新して、レンダリングされた API ページを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100