Skip to content

CodeQL

CodeQL #516

Triggered via schedule November 9, 2024 06:36
Status Success
Total duration 9m 36s
Artifacts

codeql-analysis.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): Workshop/DataTypes/Client/Program.cs#L69
'ApplicationConfiguration.MessageContext' is obsolete: 'Warning: Behavior changed return a copy instead of a reference. Should call CreateMessageContext() instead.'
Analyze (csharp): Samples/Opc.Ua.Sample/Base/CustomNodeManager.cs#L160
Change 'List<NodeState>' in 'CustomNodeManager2.RootNotifiers' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
Analyze (csharp): Samples/Opc.Ua.Sample/Base/MonitoredItemQueue.cs#L39
Rename type name MonitoredItemQueue so that it does not end in 'Queue' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
Analyze (csharp): Samples/Opc.Ua.Sample/Base/SampleNodeManager.cs#L149
Change 'List<NodeState>' in 'SampleNodeManager.RootNotifiers' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
Analyze (csharp): Samples/Opc.Ua.Sample/TestData/TestData.Classes.cs#L1024
In delegate TestData.ScalarValue2MethodStateMethodCallHandler, remove the underscores from parameter name _context (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
Analyze (csharp): Samples/Opc.Ua.Sample/TestData/TestData.Classes.cs#L147
In delegate TestData.GenerateValuesMethodStateMethodCallHandler, remove the underscores from parameter name _context (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
Analyze (csharp): Samples/Opc.Ua.Sample/TestData/TestData.Classes.cs#L1025
In delegate TestData.ScalarValue2MethodStateMethodCallHandler, remove the underscores from parameter name _method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
Analyze (csharp): Samples/Opc.Ua.Sample/TestData/TestData.Classes.cs#L148
In delegate TestData.GenerateValuesMethodStateMethodCallHandler, remove the underscores from parameter name _method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
Analyze (csharp): Samples/Opc.Ua.Sample/TestData/TestData.Classes.cs#L1026
In delegate TestData.ScalarValue2MethodStateMethodCallHandler, remove the underscores from parameter name _objectId (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
Analyze (csharp): Samples/Opc.Ua.Sample/TestData/TestData.Classes.cs#L149
In delegate TestData.GenerateValuesMethodStateMethodCallHandler, remove the underscores from parameter name _objectId (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)