Skip to content

Use pattern matching instead of ReferenceEquals(X, null) #43

Use pattern matching instead of ReferenceEquals(X, null)

Use pattern matching instead of ReferenceEquals(X, null) #43

Triggered via pull request November 11, 2023 23:50
Status Success
Total duration 2m 0s
Artifacts

dotnet.yml

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

Annotations

30 warnings
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/Extensions/ThreadExtensions.cs#L85
'Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (ubuntu-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 (ubuntu-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)
build (ubuntu-latest, 7.0.x): Common/Extensions/ThreadExtensions.cs#L109
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
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 (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/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/Extensions/ThreadExtensions.cs#L85
'Thread.Abort()' is obsolete: 'Thread.Abort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
build (macos-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 (macos-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)
build (macos-latest, 7.0.x): Common/Extensions/ThreadExtensions.cs#L109
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
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): Common/Classes/Binary/Binary.cs#L2502
Argument type 'uint' is not CLS-compliant
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)
build (windows-latest, 7.0.x): Common/Extensions/ThreadExtensions.cs#L109
'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/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/Collections/Generic/ConcurrentLinkedQueueSlim.cs#L686
'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/ConcurrentLinkedQueueSlim.cs#L736
'Thread.ApartmentState' is obsolete: 'The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.'