Skip to content

[1][PULL] FIXES WARNINGS #8

[1][PULL] FIXES WARNINGS

[1][PULL] FIXES WARNINGS #8

Triggered via pull request December 19, 2023 14:51
Status Success
Total duration 3m 39s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Protocol/Proto/PulsarApi.cs(1973,55): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/BinaryProtoLookupService.cs(425,28): warning CS0612: 'SchemaType.ValueOf(int)' is obsolete [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Exceptions/PulsarClientException.cs(1269,90): warning SYSLIB0051: '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) [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Protocol/Commands.cs(684,12): warning CS0612: 'SchemaType.ValueOf(int)' is obsolete [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Protocol/Commands.cs(696,12): warning CS0612: 'SchemaType.ValueOf(int)' is obsolete [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Protocol/Proto/PulsarApi.cs(1976,47): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Table/TableViewActor.cs(52,29): warning CS0169: The field 'TableViewActor<T>._partitionChecker' is never used [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/ServiceProvider/ControlledClusterFailoverActor.cs(158,29): warning CS0649: Field 'ControlledClusterFailoverActor.ControlledConfiguration.TlsTrustCertsFilePath' is never assigned to, and will always have its default value null [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Tracker/UnAckedMessageRedeliveryTracker.cs(33,42): warning CS0649: Field 'UnAckedMessageRedeliveryTracker<T>._log' is never assigned to, and will always have its default value null [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/MessageRouterBase.cs(13,43): warning CS0649: Field 'MessageRouterBase.Hash' is never assigned to, and will always have its default value null [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Protocol\Proto\PulsarApi.cs(1973,55): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\BinaryProtoLookupService.cs(425,28): warning CS0612: 'SchemaType.ValueOf(int)' is obsolete [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Exceptions\PulsarClientException.cs(1269,90): warning SYSLIB0051: '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) [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Protocol\Proto\PulsarApi.cs(1976,47): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Protocol\Commands.cs(684,12): warning CS0612: 'SchemaType.ValueOf(int)' is obsolete [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Protocol\Commands.cs(696,12): warning CS0612: 'SchemaType.ValueOf(int)' is obsolete [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\ClientCnx.cs(70,32): warning CS0649: Field 'ClientCnx._sendPing' is never assigned to, and will always have its default value null [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\ServiceProvider\ControlledClusterFailoverActor.cs(160,29): warning CS0649: Field 'ControlledClusterFailoverActor.ControlledConfiguration.AuthPluginClassName' is never assigned to, and will always have its default value null [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Tracker\UnAckedMessageRedeliveryTracker.cs(33,42): warning CS0649: Field 'UnAckedMessageRedeliveryTracker<T>._log' is never assigned to, and will always have its default value null [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Protocol\Schema\LongSchemaVersionResponse.cs(26,18): warning CS0649: Field 'LongSchemaVersionResponse.Version' is never assigned to, and will always have its default value [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]