Merge pull request #171 from Sharp-Pulsar/fix_warning #13
Annotations
10 warnings
Run: Test
/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]
|
Run: Test
/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]
|
Run: Test
/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]
|
Run: Test
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.API/Schema/KeyValueSchemaTest.cs(267,17): warning xUnit2020: Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020) [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.API/SharpPulsar.Test.API.csproj]
|
Run: Test
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.Token/TokenTests.cs(88,35): warning CS8602: Dereference of a possibly null reference. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.Token/SharpPulsar.Test.Token.csproj]
|
Run: Test
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.Token/TokenTests.cs(143,63): warning CS8602: Dereference of a possibly null reference. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.Token/SharpPulsar.Test.Token.csproj]
|
Run: Test
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.NBench/Fixtures/NBenchCollection.cs(35,52): warning CS8604: Possible null reference argument for parameter 'outputPath' in 'IConfigurationRoot NBenchCollection.GetIConfigurationRoot(string outputPath)'. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.NBench/SharpPulsar.Test.NBench.csproj]
|
Run: Test
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.NBench/NBench.cs(22,16): warning CS8618: Non-nullable field '_producer' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.NBench/SharpPulsar.Test.NBench.csproj]
|
Run: Test
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.NBench/NBench.cs(22,16): warning CS8618: Non-nullable field '_consumer' must contain a non-null value when exiting constructor. Consider declaring the field as nullable. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.NBench/SharpPulsar.Test.NBench.csproj]
|
Run: Test
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.NBench/Fixtures/NBenchCollection.cs(49,50): warning CS8604: Possible null reference argument for parameter 's' in 'int int.Parse(string s)'. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.NBench/SharpPulsar.Test.NBench.csproj]
|
The logs for this run have expired and are no longer available.
Loading