Skip to content

A bunch of fixes from static analysis and production #101

A bunch of fixes from static analysis and production

A bunch of fixes from static analysis and production #101

Triggered via pull request November 16, 2023 14:22
Status Success
Total duration 1m 39s
Artifacts

dotnet.yml

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

Annotations

30 warnings
build (ubuntu-latest, 8.0.x): Common/Classes/TaggedException.cs#L186
Member 'TaggedException<T>.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'TaggedException<T>.GetObjectData(SerializationInfo, StreamingContext)'.
build (ubuntu-latest, 8.0.x): Common/Classes/Binary/Binary.cs#L2502
Argument type 'uint' is not CLS-compliant
build (ubuntu-latest, 8.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, 8.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, 8.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, 8.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, 8.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, 8.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 (ubuntu-latest, 8.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 (ubuntu-latest, 8.0.x): Common/Classes/TaggedException.cs#L156
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build (windows-latest, 8.0.x): Common/Classes/TaggedException.cs#L186
Member 'TaggedException<T>.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'TaggedException<T>.GetObjectData(SerializationInfo, StreamingContext)'.
build (windows-latest, 8.0.x): Common/Classes/Binary/Binary.cs#L2502
Argument type 'uint' is not CLS-compliant
build (windows-latest, 8.0.x): Common/Extensions/ThreadExtensions.cs#L84
'Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (windows-latest, 8.0.x): Common/Extensions/ThreadExtensions.cs#L86
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (windows-latest, 8.0.x): Common/Extensions/ThreadExtensions.cs#L107
'Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (windows-latest, 8.0.x): Common/Extensions/ThreadExtensions.cs#L108
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (windows-latest, 8.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, 8.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, 8.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, 8.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, 8.0.x): Common/Classes/TaggedException.cs#L186
Member 'TaggedException<T>.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'TaggedException<T>.GetObjectData(SerializationInfo, StreamingContext)'.
build (macos-latest, 8.0.x): Common/Classes/Binary/Binary.cs#L2502
Argument type 'uint' is not CLS-compliant
build (macos-latest, 8.0.x): Common/Classes/TaggedException.cs#L156
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build (macos-latest, 8.0.x): Common/Classes/TaggedException.cs#L193
'Exception.GetObjectData(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build (macos-latest, 8.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, 8.0.x): Common/Extensions/ThreadExtensions.cs#L84
'Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (macos-latest, 8.0.x): Common/Extensions/ThreadExtensions.cs#L86
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (macos-latest, 8.0.x): Common/Extensions/ThreadExtensions.cs#L107
'Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (macos-latest, 8.0.x): Common/Extensions/ThreadExtensions.cs#L108
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (macos-latest, 8.0.x): Common/Collections/Generic/ConcurrentLinkedStackSlim.cs#L572
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'