Build And Test, NETCORE #2
Annotations
10 errors and 12 warnings
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs#L17
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs#L25
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/TelemetryInitializers/AspNetCoreEnvironmentTelemetryInitializer.cs#L15
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/TelemetryInitializers/AspNetCoreEnvironmentTelemetryInitializer.cs#L21
'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.'
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Extensions/ApplicationInsightsWebHostBuilderExtensions.cs#L10
Symbol 'ApplicationInsightsWebHostBuilderExtensions' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/IJavaScriptSnippet.cs#L6
Symbol 'IJavaScriptSnippet' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/Extensions/ApplicationInsightsExtensions.cs#L22
Symbol 'ApplicationInsightsExtensions' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
|
NETCORE/src/Shared/Extensions/ApplicationInsightsExtensions.cs#L45
Symbol 'ApplicationInsightsExtensions' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/JavaScriptSnippet.cs#L15
Symbol 'JavaScriptSnippet' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/DiagnosticListeners/Implementation/MvcDiagnosticsListener.cs#L21
Symbol 'MvcDiagnosticsListener' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
|
|
|
|
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/DiagnosticListeners/Implementation/HostingDiagnosticListener.cs#L467
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.ApplicationInsights.AspNetCore.DiagnosticListeners.HostingDiagnosticListener.ExtractOperationIdFromRequestId(string)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/JavaScriptSnippet.cs#L116
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet.ScriptBody.get' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/DiagnosticListeners/Implementation/HeadersUtilities.cs#L99
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.ApplicationInsights.AspNetCore.DiagnosticListeners.HeadersUtilities.HeaderMatchesKey(string, string)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
|
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/DiagnosticListeners/Implementation/HostingDiagnosticListener.cs#L467
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.ApplicationInsights.AspNetCore.DiagnosticListeners.HostingDiagnosticListener.ExtractOperationIdFromRequestId(string)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/JavaScriptSnippet.cs#L116
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet.ScriptBody.get' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/DiagnosticListeners/Implementation/HeadersUtilities.cs#L99
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.ApplicationInsights.AspNetCore.DiagnosticListeners.HeadersUtilities.HeaderMatchesKey(string, string)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
This job failed
Loading