Skip to content

Add C# syntax checklist doc (#1152) #4620

Add C# syntax checklist doc (#1152)

Add C# syntax checklist doc (#1152) #4620

Triggered via push August 25, 2024 07:11
Status Failure
Total duration 5m 43s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 24 warnings
PublishPackage
Assets file '/home/runner/work/neo-devpack-dotnet/neo-devpack-dotnet/src/Neo.SmartContract.Testing/obj/project.assets.json' doesn't have a target for 'netstandard2.1'. Ensure that restore has run and that you have included 'netstandard2.1' in the TargetFrameworks for your project.
PublishPackage
Assets file '/home/runner/work/neo-devpack-dotnet/neo-devpack-dotnet/src/Neo.SmartContract.Testing/obj/project.assets.json' doesn't have a target for 'netstandard2.1'. Ensure that restore has run and that you have included 'netstandard2.1' in the TargetFrameworks for your project.
PublishPackage
Process completed with exit code 1.
Test: src/Neo.SmartContract.Testing/Coverage/Formats/CoberturaFormat.cs#L66
Dereference of a possibly null reference.
Test: src/Neo.Compiler.CSharp/MethodConvert/Expression/Expression.cs#L59
Possible null reference argument for parameter 'value' in 'object MethodConvert.ConvertComplexConstantTypes(ITypeSymbol typeSymbol, object value, ExpressionSyntax syntax)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/Helpers/SlotHelpers.cs#L311
Dereference of a possibly null reference.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L90
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L91
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L111
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L116
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L128
Dereference of a possibly null reference.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L136
Dereference of a possibly null reference.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L141
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L87
Dereference of a possibly null reference.
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L87
Dereference of a possibly null reference.
Test: src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L111
Dereference of a possibly null reference.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_Nullable.cs#L26
Dereference of a possibly null reference.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_Nullable.cs#L36
Dereference of a possibly null reference.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Array.cs#L11
Cannot convert null literal to non-nullable reference type.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Default.cs#L69
Converting null literal or possible null value to non-nullable type.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Default.cs#L70
Possible null reference return.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Default.cs#L75
Converting null literal or possible null value to non-nullable type.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Default.cs#L76
Possible null reference return.
Release
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Release
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PublishPackage: src/Neo.SmartContract.Testing/Coverage/Formats/CoberturaFormat.cs#L66
Dereference of a possibly null reference.
PublishPackage: src/Neo.SmartContract.Testing/Coverage/Formats/CoberturaFormat.cs#L66
Dereference of a possibly null reference.