CodeQL #6755
Annotations
11 warnings
Analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Analyze:
testdata/Model/CSharp/melding.cs#L7
The type name 'melding' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
Analyze:
backend/src/DataModeling/Converter/Csharp/CsharpGenerationException.cs#L28
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
Analyze:
backend/src/DataModeling/Converter/Metadata/ModelMetadataConvertException.cs#L28
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
Analyze:
backend/src/DataModeling/Converter/Xml/XmlSchemaConvertException.cs#L36
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
Analyze:
backend/src/DataModeling/Converter/Json/JsonSchemaConvertException.cs#L36
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
Analyze:
backend/src/Designer/Models/Dto/AccessListMember.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze:
backend/src/Designer/Controllers/ResourceAdminController.cs#L613
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze:
backend/src/Designer/Models/Preview/DataPatchRequest.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Analyze:
backend/src/Designer/Program.cs#L354
The local function 'GetXmlCommentsPathForControllers' is declared but never used
|
Analyze:
backend/src/Designer/TypedHttpClients/Altinn2Metadata/Altinn2MetadataClient.cs#L60
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|