Skip to content

[1][PULL] FIXES WARNINGS #11

[1][PULL] FIXES WARNINGS

[1][PULL] FIXES WARNINGS #11

Triggered via pull request December 20, 2023 14:23
@eabaeaba
synchronize #171
fix_warning
Status Success
Total duration 6m 3s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

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/Shared/SchemaType.cs(308,13): warning CS0612: 'SchemaType.AUTO' 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/TransactionImpl/TransactionActor.cs(64,46): warning CS0169: The field 'TransactionActor._opFuture' is never used [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/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 [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/BackoffBuilder.cs(8,31): warning CS0414: The field 'BackoffBuilder._maxBackoffIntervalNanos' is assigned but its value is never used [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/BackoffBuilder.cs(7,25): warning CS0414: The field 'BackoffBuilder._backoffIntervalNanos' is assigned but its value is never used [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/MessageId.cs(171,25): warning CA2200: Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200) [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/ConsumerActorBase.cs(275,17): warning CA2200: Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200) [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/ConsumerActorBase.cs(289,22): warning CA2200: Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200) [/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\Shared\SchemaType.cs(308,13): warning CS0612: 'SchemaType.AUTO' is obsolete [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\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]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\TransactionImpl\TransactionActor.cs(64,46): warning CS0169: The field 'TransactionActor._opFuture' is never used [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\BackoffBuilder.cs(7,25): warning CS0414: The field 'BackoffBuilder._backoffIntervalNanos' is assigned but its value is never used [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\BackoffBuilder.cs(8,31): warning CS0414: The field 'BackoffBuilder._maxBackoffIntervalNanos' is assigned but its value is never used [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\ConsumerActorBase.cs(289,22): warning CA2200: Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200) [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\ConsumerActorBase.cs(275,17): warning CA2200: Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200) [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\MessageId.cs(171,25): warning CA2200: Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200) [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]