mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-26 12:40:03 +08:00
Enable .NET analyzers for all projects (#1414)
* Enable .NET analyzers for all projects * fix all new warnings, mostly security and perf
This commit is contained in:
@@ -276,7 +276,7 @@ namespace Opc.Ua.Client.ComplexTypes
|
||||
var typeSystem = await m_session.LoadDataTypeSystem().ConfigureAwait(false);
|
||||
|
||||
// sort dictionaries with import dependencies to the end of the list
|
||||
var sortedTypeSystem = typeSystem.OrderBy(t => t.Value.TypeDictionary?.Import?.Count()).ToList();
|
||||
var sortedTypeSystem = typeSystem.OrderBy(t => t.Value.TypeDictionary?.Import?.Length).ToList();
|
||||
|
||||
bool allTypesLoaded = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user