Skip to content

[SysCall] add support to enum methods, #4692

[SysCall] add support to enum methods,

[SysCall] add support to enum methods, #4692

Triggered via pull request September 16, 2024 15:15
Status Failure
Total duration 4m 3s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
Test
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#L97
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L98
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L118
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L123
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L135
Dereference of a possibly null reference.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L143
Dereference of a possibly null reference.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L148
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.