Update app-lib-dotnet to multi-target dotnet6 and dotnet8 with c# 12 #858
test-and-analyze.yml
on: pull_request
Static code analysis
4m 40s
Annotations
20 warnings
Static code analysis:
src/Altinn.App.Core/Extensions/XmlToLinqExtensions.cs#L30
Possible null reference argument for parameter 'value' in 'XAttribute.XAttribute(XName name, object value)'.
|
Static code analysis:
src/Altinn.App.Core/Extensions/DataProtectionConfiguration.cs#L36
Possible null reference return.
|
Static code analysis:
src/Altinn.App.Core/Features/Validation/ValidationAppSI.cs#L261
Possible null reference argument for parameter 'httpContext' in 'ActionContext.ActionContext(HttpContext httpContext, RouteData routeData, ActionDescriptor actionDescriptor, ModelStateDictionary modelState)'.
|
Static code analysis:
src/Altinn.App.Core/Features/Validation/ValidationAppSI.cs#L266
Cannot convert null literal to non-nullable reference type.
|
Static code analysis:
src/Altinn.App.Core/EFormidling/Implementation/DefaultEFormidlingService.cs#L124
Dereference of a possibly null reference.
|
Static code analysis:
src/Altinn.App.Core/Features/PageOrder/DefaultPageOrder.cs#L36
Dereference of a possibly null reference.
|
Static code analysis:
src/Altinn.App.Core/Features/PageOrder/DefaultPageOrder.cs#L36
Dereference of a possibly null reference.
|
Static code analysis:
src/Altinn.App.Core/Features/PageOrder/DefaultPageOrder.cs#L36
Possible null reference return.
|
Static code analysis:
src/Altinn.App.Core/Features/Options/NullInstanceAppOptionsProvider.cs#L18
Cannot convert null literal to non-nullable reference type.
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/TextClient.cs#L63
Converting null literal or possible null value to non-nullable type.
|
Static code analysis:
src/Altinn.App.Core/EFormidling/Implementation/DefaultEFormidlingService.cs#L124
Dereference of a possibly null reference.
|
Static code analysis:
src/Altinn.App.Core/Extensions/XmlToLinqExtensions.cs#L30
Possible null reference argument for parameter 'value' in 'XAttribute.XAttribute(XName name, object value)'.
|
Static code analysis:
src/Altinn.App.Core/Extensions/DataProtectionConfiguration.cs#L36
Possible null reference return.
|
Static code analysis:
src/Altinn.App.Core/Internal/Process/ProcessNavigator.cs#L37
Argument of type 'List<ProcessElement>' cannot be used for parameter 'originNextElements' of type 'List<ProcessElement?>' in 'Task<List<ProcessElement>> ProcessNavigator.NextFollowAndFilterGateways(Instance instance, List<ProcessElement?> originNextElements, string? action)' due to differences in the nullability of reference types.
|
Static code analysis:
src/Altinn.App.Core/Internal/Process/ProcessEventDispatcher.cs#L118
Possible null reference argument for parameter 'elementId' in 'Task ITask.HandleTaskStart(string elementId, Instance instance, Dictionary<string, string> prefill)'.
|
Static code analysis:
src/Altinn.App.Core/Internal/Process/ProcessEventDispatcher.cs#L118
Possible null reference argument for parameter 'prefill' in 'Task ITask.HandleTaskStart(string elementId, Instance instance, Dictionary<string, string> prefill)'.
|
Static code analysis:
src/Altinn.App.Core/Internal/Process/ProcessEventDispatcher.cs#L121
Possible null reference argument for parameter 'elementId' in 'Task ITask.HandleTaskComplete(string elementId, Instance instance)'.
|
Static code analysis:
src/Altinn.App.Core/Internal/Process/ProcessEventDispatcher.cs#L124
Possible null reference argument for parameter 'elementId' in 'Task ITask.HandleTaskAbandon(string elementId, Instance instance)'.
|
Static code analysis:
src/Altinn.App.Core/Internal/Process/ProcessEventDispatcher.cs#L127
Possible null reference argument for parameter 'endEvent' in 'Task IAppEvents.OnEndAppEvent(string endEvent, Instance instance)'.
|
Static code analysis:
src/Altinn.App.Core/Internal/Pdf/PdfService.cs#L227
Possible null reference argument for parameter 'textResource' in 'Task<DataElement> PdfService.StorePDF(Stream pdfStream, Instance instance, TextResource textResource, string generatedFromTask)'.
|