Skip to content

partially fix return in try #5266

partially fix return in try

partially fix return in try #5266

Triggered via pull request January 22, 2025 03:50
Status Success
Total duration 4m 11s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test: src/Neo.SmartContract.Framework/Services/Runtime.cs#L96
Cannot convert null literal to non-nullable reference type.
Test: src/Neo.SmartContract.Framework/Native/NEO.cs#L29
Cannot convert null literal to non-nullable reference type.
Test: src/Neo.SmartContract.Framework/Native/GAS.cs#L28
Cannot convert null literal to non-nullable reference type.
Test: src/Neo.SmartContract.Framework/TokenContract.cs#L37
Possible null reference argument for parameter 'text' in 'ByteString.explicit operator BigInteger(ByteString text)'.
Test: src/Neo.SmartContract.Framework/Native/WitnessRule.cs#L17
Non-nullable field 'Condition' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test: src/Neo.SmartContract.Framework/Native/Signer.cs#L16
Non-nullable field 'Account' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test: src/Neo.SmartContract.Framework/Native/Signer.cs#L18
Non-nullable field 'AllowedContracts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test: src/Neo.SmartContract.Framework/Native/Signer.cs#L19
Non-nullable field 'AllowedGroups' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test: src/Neo.SmartContract.Framework/Native/Signer.cs#L20
Non-nullable field 'Rules' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test: src/Neo.SmartContract.Framework/Native/ScriptHashCondition.cs#L16
Non-nullable field 'Hash' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L98
Dereference of a possibly null reference.
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L98
Dereference of a possibly null reference.
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L122
Dereference of a possibly null reference.
Test: src/Neo.SmartContract.Analyzer/SystemDiagnosticsUsageAnalyzer.cs#L26
Diagnostic Id 'NC4025' is already used by analyzer 'EnumMethodsUsageAnalyzer'. Please use a different diagnostic ID.
Test: src/Neo.SmartContract.Analyzer/AnalyzerReleases.Unshipped.md#L3
Analyzer release file 'AnalyzerReleases.Unshipped.md' has a missing or invalid release header '| Rule ID | Category | Severity | Notes |' (https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_SecurityAnalyzer/Contract_CheckWitness.cs#L22
'Contract_CheckWitness.Main(UInt160)' has the wrong signature to be an entry point
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L98
Dereference of a possibly null reference.
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L98
Dereference of a possibly null reference.
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L122
Dereference of a possibly null reference.