test of change request #1464
Annotations
9 errors and 10 warnings
Autobuild:
src/Authentication/Services/ChangeRequestSystemUserService.cs#L815
A local variable or function named 'req' is already defined in this scope
|
Autobuild:
src/Authentication/Services/ChangeRequestSystemUserService.cs#L815
A local variable or function named 'req' is already defined in this scope
|
Autobuild
Assets file '/home/runner/work/altinn-authentication/altinn-authentication/src/Authentication/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/altinn-authentication/altinn-authentication/test/Altinn.Platform.Authentication.Tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/altinn-authentication/altinn-authentication/src/Persistance/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/altinn-authentication/altinn-authentication/src/Core/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/altinn-authentication/altinn-authentication/src/Integration/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
|
Autobuild
Assets file '/home/runner/work/altinn-authentication/altinn-authentication/test/Altinn.Platform.Authentication.SystemIntegrationTests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
|
Autobuild
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.19.3/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
|
Autobuild:
test/Altinn.Platform.Authentication.SystemIntegrationTests/Tests/SystemRegisterState.cs#L16
Non-nullable property 'RedirectUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Autobuild:
test/Altinn.Platform.Authentication.SystemIntegrationTests/Tests/SystemUserTests.cs#L234
Dereference of a possibly null reference.
|
Autobuild:
test/Altinn.Platform.Authentication.SystemIntegrationTests/Tests/SystemUserTests.cs#L266
Dereference of a possibly null reference.
|
Autobuild:
test/Altinn.Platform.Authentication.SystemIntegrationTests/Tests/SystemUserTests.cs#L273
Dereference of a possibly null reference.
|
Autobuild:
test/Altinn.Platform.Authentication.SystemIntegrationTests/Tests/SystemUserTests.cs#L285
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Autobuild:
test/Altinn.Platform.Authentication.SystemIntegrationTests/Tests/SystemUserTests.cs#L87
Public method 'GetCreatedSystemUser' on test class 'SystemUserTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
|
Autobuild:
test/Altinn.Platform.Authentication.SystemIntegrationTests/Tests/SystemUserTests.cs#L285
Public method 'UseSystemUser' on test class 'SystemUserTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
|
Autobuild:
test/Altinn.Platform.Authentication.SystemIntegrationTests/Tests/SystemRegisterTests.cs#L141
Public method 'UpdateRegisteredSystemReturns200Ok' on test class 'SystemRegisterTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
|
Autobuild:
src/Core/Extensions/HttpClientExtensions.cs#L17
Cannot convert null literal to non-nullable reference type.
|
Autobuild:
src/Core/Extensions/HttpClientExtensions.cs#L39
Cannot convert null literal to non-nullable reference type.
|
Loading