Skip to content

Code Style Check

Code Style Check #188

Manually triggered November 16, 2023 16:11
Status Failure
Total duration 2m 7s
Artifacts

code-style.yaml

on: workflow_dispatch
check-code-style
1m 54s
check-code-style
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
check-code-style
Process completed with exit code 1.
check-code-style: src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly'
check-code-style: src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly'
check-code-style: src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly'
check-code-style: src/dscom/MarshalExtension.cs#L46
Prefer static 'System.Security.Cryptography.MD5.HashData' method over 'ComputeHash'
check-code-style: src/dscom/MarshalExtension.cs#L70
Prefer static 'System.Security.Cryptography.MD5.HashData' method over 'ComputeHash'
check-code-style: src/dscom/writer/InterfaceWriter.cs#L128
Change return type of method 'GetMethodNamesOfBaseTypeInfo' from 'System.Collections.Generic.IEnumerable<string>' to 'System.Collections.Generic.List<string>' for improved performance
check-code-style: src/dscom/writer/InterfaceWriter.cs#L63
Use 'ObjectDisposedException.ThrowIf' instead of explicitly throwing a new exception instance
check-code-style: src/dscom/names/SimpleNameResolver.cs#L21
Change type of field '_names' from 'System.Collections.Generic.IDictionary<string, string>' to 'System.Collections.Generic.Dictionary<string, string>' for improved performance
check-code-style: src/dscom/TypeInfoResolver.cs#L22
Change type of field '_typeLibs' from 'System.Collections.Generic.IDictionary<dSPACE.Runtime.InteropServices.TypeLibIdentifier, System.Runtime.InteropServices.ComTypes.ITypeLib>' to 'System.Collections.Generic.Dictionary<dSPACE.Runtime.InteropServices.TypeLibIdentifier, System.Runtime.InteropServices.ComTypes.ITypeLib>' for improved performance