Skip to content

CodeQL

CodeQL #484

Triggered via schedule August 24, 2024 06:35
Status Success
Total duration 9m 21s
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#L9063
In delegate TestData.UserArrayValue1MethodStateMethodCallHandler, 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#L1176
In delegate TestData.ScalarValue3MethodStateMethodCallHandler, 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#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#L9064
In delegate TestData.UserArrayValue1MethodStateMethodCallHandler, 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#L1177
In delegate TestData.ScalarValue3MethodStateMethodCallHandler, 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#L1025
In delegate TestData.ScalarValue2MethodStateMethodCallHandler, remove the underscores from parameter name _method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)