Skip to content

CodeQL for ModelCompiler #161

CodeQL for ModelCompiler

CodeQL for ModelCompiler #161

Triggered via schedule November 29, 2025 06:40
Status Success
Total duration 3m 24s
Artifacts

codeql-analysis.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Analyze (csharp)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
Analyze (csharp): Opc.Ua.ModelCompiler/ModelDesign.cs#L66
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Opc.Ua.ModelCompiler/ModelDesign.cs#L65
Change 'List<NodeDesign>' in 'HierarchyNode.OverriddenNodes' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
Analyze (csharp): Opc.Ua.ModelCompiler/ModelDesign.cs#L65
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Opc.Ua.ModelCompiler/ModelDesign.cs#L64
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Opc.Ua.ModelCompiler/StackGenerator/DataTypes/XmlSchemaGenerator.cs#L63
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Opc.Ua.ModelCompiler/StackGenerator/DataTypes/XmlSchemaGenerator.cs#L62
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Opc.Ua.ModelCompiler/StackGenerator/DataTypes/XmlSchemaGenerator.cs#L61
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Opc.Ua.ModelCompiler/StackGenerator/DataTypes/SchemaGenerator.cs#L69
Change 'Exclusions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Analyze (csharp): Opc.Ua.ModelCompiler/StackGenerator/CodeGenerator.cs#L126
Change 'Exclusions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
Analyze (csharp): Opc.Ua.ModelCompiler/StackGenerator/CodeGenerator.cs#L74
Change 'List<string>' in 'CodeGenerator.DictionariesToExport' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)