Skip to content

Commit fb7ec62

Browse files
authored
.NET 8: Fix Warnings (#146)
1 parent 822b82b commit fb7ec62

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ dotnet_diagnostic.IDE0046.severity = suggestion
112112
dotnet_style_prefer_compound_assignment = true:warning
113113
dotnet_style_prefer_simplified_interpolation = true:warning
114114
dotnet_style_prefer_simplified_boolean_expressions = true:warning
115+
dotnet_diagnostic.IDE0028.severity = suggestion
116+
dotnet_diagnostic.IDE0290.severity = suggestion
115117
# Null-checking preferences
116118
dotnet_style_coalesce_expression = true:warning
117119
dotnet_style_null_propagation = true:warning

Benchmarks/ClientBenchmarkApp/ClientBenchmark.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace ClientBenchmarkApp;
1616
[SimpleJob(RunStrategy.Monitoring, iterationCount: 100, id: "MonitoringJob")]
1717
public class ClientBenchmarks : IDisposable
1818
{
19-
private readonly string smallPayload = new string(/*lang=json,strict*/ "{\"interference\": \"1029384\"}");
19+
private readonly string smallPayload = "{\"interference\": \"1029384\"}";
2020

2121
private readonly string payload256k;
2222

0 commit comments

Comments
 (0)