Skip to content

Fix issues found by PVS-Studio static analyzer #4 #15

Fix issues found by PVS-Studio static analyzer #4

Fix issues found by PVS-Studio static analyzer #4 #15

Triggered via pull request October 25, 2023 03:33
Status Success
Total duration 1m 58s
Artifacts

dotnet.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

33 warnings
build (ubuntu-latest, 7.0.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-latest, 7.0.x): Common/Classes/TaggedException.cs#L74
The type name 't' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (ubuntu-latest, 7.0.x): Common/Classes/TaggedException.cs#L186
'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
build (ubuntu-latest, 7.0.x): Common/Classes/TaggedException.cs#L186
'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
build (ubuntu-latest, 7.0.x): Common/Classes/Binary/Binary.cs#L2502
Argument type 'uint' is not CLS-compliant
build (ubuntu-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L572
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (ubuntu-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L622
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (ubuntu-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L661
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (ubuntu-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedQueueSlim.cs#L686
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (ubuntu-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedQueueSlim.cs#L736
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (ubuntu-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedQueueSlim.cs#L775
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (macos-latest, 7.0.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (macos-latest, 7.0.x): Common/Classes/TaggedException.cs#L74
The type name 't' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (macos-latest, 7.0.x): Common/Classes/TaggedException.cs#L186
'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
build (macos-latest, 7.0.x): Common/Classes/TaggedException.cs#L186
'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
build (macos-latest, 7.0.x): Common/Classes/Binary/Binary.cs#L2502
Argument type 'uint' is not CLS-compliant
build (macos-latest, 7.0.x): Common/Classes/Machine.cs#L328
'AssemblyName.ProcessorArchitecture' is obsolete: 'AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0037)
build (macos-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L572
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (macos-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L622
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (macos-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L661
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (macos-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedQueueSlim.cs#L686
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (macos-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedQueueSlim.cs#L736
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (windows-latest, 7.0.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (windows-latest, 7.0.x): Common/Classes/TaggedException.cs#L74
The type name 't' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-latest, 7.0.x): Common/Classes/TaggedException.cs#L186
'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
build (windows-latest, 7.0.x): Common/Classes/TaggedException.cs#L186
'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
build (windows-latest, 7.0.x): Common/Classes/Binary/Binary.cs#L2502
Argument type 'uint' is not CLS-compliant
build (windows-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L572
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (windows-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L622
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (windows-latest, 7.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L661
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'
build (windows-latest, 7.0.x): Common/Extensions/ThreadExtensions.cs#L85
'Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (windows-latest, 7.0.x): Common/Extensions/ThreadExtensions.cs#L87
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (windows-latest, 7.0.x): Common/Extensions/ThreadExtensions.cs#L108
'Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)