モニタリング & セキュリティ向け統合プラットフォーム
オブザーバビリティ (可視性)
スタックのヘルスとパフォーマンスをエンドツーエンドで簡単に可視化
インフラストラクチャ
アプリケーション
データ
ログ
セキュリティ
脅威をリアルタイムで検知、優先順位付けし、対応
Code Security
Cloud Security
脅威管理
Security Labs
デジタル エクスペリエンス
フロントエンドのパフォーマンスを最適化し、ユーザー体験を向上
関連製品
ソフトウェア デリバリ
高品質なコードをより速く構築、テスト、セキュリティ強化、デプロイ
サービス管理
統合された効率的なワークフローで解決までの時間を短縮
アクション
エージェント型と埋め込み型
AI
モデルのパフォーマンスをモニタリング・改善。根本原因を特定し異常を検知
AI Observability
プラットフォーム機能
Datadog プラットフォームを支える組み込み機能とインテグレーション
組み込み機能
ワークフローとコラボレーション
拡張性
業界
テクノロジー
ユースケース
Looking for Datadog logos?
You can find the logo assets on our press page.
ID: csharp-best-practices/suppressthrowing
csharp-best-practices/suppressthrowing
Language: C#
Severity: Notice
Category: Best Practices
The SuppressThrowing option in ConfigureAwaitOptions can’t be used with Task<TResult>, as it may cause an invalid TResult to be returned. This rule detects such cases to ensure the issue is caught during compilation rather than during execution.
SuppressThrowing
ConfigureAwaitOptions
Task<TResult>
TResult
Task<int> t = new Task<int>(() => 1); t.ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);
Task<int> t = new Task<int>(() => 1); ((Task)t).ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);
シームレスな統合。 Datadog Code Security をお試しください
1 2
rulesets: - csharp-best-practices # Rules to enforce C# best practices.
詳細については、Code Security ドキュメント を参照してください
あなたのVS Code エディタ内で直接コードの脆弱性を特定
JetBrains 製品内で直接コードの脆弱性を特定
Ask me anything about Datadog documentation