Skip to content

CodeQL

CodeQL #488

Triggered via schedule September 7, 2024 06:35
Status Success
Total duration 10m 3s
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#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#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#L149
In delegate TestData.GenerateValuesMethodStateMethodCallHandler, 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#L827
In delegate TestData.ScalarValue1MethodStateMethodCallHandler, 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#L828
In delegate TestData.ScalarValue1MethodStateMethodCallHandler, 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#L829
In delegate TestData.ScalarValue1MethodStateMethodCallHandler, remove the underscores from parameter name _objectId (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)