Skip to content

[SysCall] add support to enum methods, #4714

[SysCall] add support to enum methods,

[SysCall] add support to enum methods, #4714

Triggered via pull request September 20, 2024 03:34
Status Success
Total duration 4m 58s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
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#L96
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
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#L117
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L122
Possible null reference argument for parameter 'type' in 'string MethodConvert.GetShortTypeName(Type type)'.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L134
Dereference of a possibly null reference.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L142
Dereference of a possibly null reference.
Test: src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.cs#L147
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: src/Neo.SmartContract.Analyzer/SystemDiagnosticsUsageAnalyzer.cs#L15
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_Array.cs#L11
Cannot convert null literal to non-nullable reference type.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Enum.cs#L28
Converting null literal or possible null value to non-nullable 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.