Skip to content

CodeQL

CodeQL #517

Triggered via schedule November 16, 2024 06:37
Status Success
Total duration 9m 59s
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/MemoryBuffer/MemoryBufferBrowser.cs#L135
Change return type of method 'NextChild' from 'Opc.Ua.IReference' to 'Opc.Ua.NodeStateReference?' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Samples/Opc.Ua.Sample/TestData/TestDataNodeManager.cs#L510
Change type of parameter 'monitoredItem' from 'Opc.Ua.Server.IDataChangeMonitoredItem2' to 'Opc.Ua.Server.MonitoredItem' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Samples/Opc.Ua.Sample/Base/SampleNodeManager.cs#L3094
Change type of field 'm_namespaceUris' from 'System.Collections.Generic.IList<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Samples/Opc.Ua.Sample/Base/SampleNodeManager.cs#L607
Change type of variable 'references' from 'System.Collections.Generic.IList<Opc.Ua.IReference>' to 'System.Collections.Generic.List<Opc.Ua.IReference>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Samples/Opc.Ua.Sample/Base/SampleNodeManager.cs#L2945
Change type of variable 'transferredItems' from 'System.Collections.Generic.IList<Opc.Ua.Server.IMonitoredItem>' to 'System.Collections.Generic.List<Opc.Ua.Server.IMonitoredItem>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Samples/Opc.Ua.Sample/Base/CustomNodeManager.cs#L3096
Change type of field 'm_namespaceUris' from 'System.Collections.Generic.IList<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Samples/Opc.Ua.Sample/Base/CustomNodeManager.cs#L606
Change type of variable 'references' from 'System.Collections.Generic.IList<Opc.Ua.IReference>' to 'System.Collections.Generic.List<Opc.Ua.IReference>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Samples/Opc.Ua.Sample/Base/CustomNodeManager.cs#L2930
Change type of variable 'transferredItems' from 'System.Collections.Generic.IList<Opc.Ua.Server.IMonitoredItem>' to 'System.Collections.Generic.List<Opc.Ua.Server.IMonitoredItem>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Analyze (csharp): Samples/Opc.Ua.Sample/MemoryBuffer/MemoryBufferBrowser.cs#L135
Change return type of method 'NextChild' from 'Opc.Ua.IReference' to 'Opc.Ua.NodeStateReference?' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)