add autobuild/push Nuget packages #2
Merged
Annotations
10 warnings
Build:
sample/SampleWebApp/Program.cs#L41
The method used to create a RequestDelegate returns Task<string>. RequestDelegate discards this value. If this isn't intended then change the return type to non-generic Task or, if the delegate is a route handler, cast it to Delegate so the return value is written to the response. (https://aka.ms/aspnet/analyzers)
|
Build:
test/Serilog.Enrichers.HttpContext.Tests/Enrichers/CorrelationIdEnricherTests.cs#L21
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Build:
test/Serilog.Enrichers.HttpContext.Tests/Enrichers/CorrelationIdEnricherTests.cs#L44
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Build:
test/Serilog.Enrichers.HttpContext.Tests/Enrichers/ClientHeaderEnricherTests.cs#L21
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Build:
test/Serilog.Enrichers.HttpContext.Tests/Enrichers/ClientHeaderEnricherTests.cs#L47
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Build:
test/Serilog.Enrichers.HttpContext.Tests/Enrichers/ClientIpEnricherTests.cs#L101
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Build:
test/Serilog.Enrichers.HttpContext.Tests/Enrichers/ClientHeaderEnricherTests.cs#L75
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Build:
test/Serilog.Enrichers.HttpContext.Tests/Enrichers/ClientHeaderEnricherTests.cs#L76
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Build:
test/Serilog.Enrichers.HttpContext.Tests/Enrichers/ClientIpEnricherTests.cs#L76
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
Build:
sample/SampleWebApp/Program.cs#L41
The method used to create a RequestDelegate returns Task<string>. RequestDelegate discards this value. If this isn't intended then change the return type to non-generic Task or, if the delegate is a route handler, cast it to Delegate so the return value is written to the response. (https://aka.ms/aspnet/analyzers)
|
Loading