dotnet/roslyn
Structure guidelines wrong for class initializer, when using constructor which also uses a class initializer
开放
#65,970 创建于 2022年12月13日
Bughelp wanted
仓库指标
- 星标
- (20,414 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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)
};
}

Original Comments
Feedback Bot on 12/12/2022, 08:13 PM:
(private comment, text removed)
Original Solutions
(no solutions)