CodeQL #512
Annotations
10 warnings
Build Solution:
Workshop/DataTypes/Client/Program.cs#L69
'ApplicationConfiguration.MessageContext' is obsolete: 'Warning: Behavior changed return a copy instead of a reference. Should call CreateMessageContext() instead.'
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Loading