dotnet/roslyn

Structure guidelines wrong for class initializer, when using constructor which also uses a class initializer

オープン

#65,970 opened on 2022/12/13

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (4,257 件のフォーク)batch import
Bughelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (PR metrics pending)

説明

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in:17.2.6]

    private HttpClient BuildClient()
    {
        return new HttpClient(new SocketsHttpHandler()
        {
            PooledConnectionIdleTimeout = TimeSpan.FromMinutes(5),
            PooledConnectionLifetime = TimeSpan.FromMinutes(10)
        })
        {
            Timeout = TimeSpan.FromMinutes(3.5)
        };
    }

image


Original Comments

Feedback Bot on 12/12/2022, 08:13 PM:

(private comment, text removed)


Original Solutions

(no solutions)

コントリビューターガイド