optimize array and struct construction from APPEND and SETITEM to PACK #4876
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#L57
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.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.
|