Skip to content

More fixes on optimizer #3045

More fixes on optimizer

More fixes on optimizer #3045

Triggered via pull request February 19, 2024 09:14
@Hecate2Hecate2
synchronize #911
master
Status Success
Total duration 2m 38s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: coverallsapp/github-action@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Types.cs#L18
The type name 'del' only contains lower-cased ascii characters. Such names may become reserved for the language.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Initializer.cs#L8
The type name 'data' only contains lower-cased ascii characters. Such names may become reserved for the language.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_ContractCall.cs#L8
Method, operator, or accessor 'Contract_Call.testArgs1(byte)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_ContractCall.cs#L9
Method, operator, or accessor 'Contract_Call.testVoid()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Event.cs#L15
'Contract_Event.Main(string, object[])' has the wrong signature to be an entry point
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_WrongEvent.cs#L12
'Contract_WrongEvent.Main(string, object[])' has the wrong signature to be an entry point
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_WrongEvent.cs#L10
Non-nullable event 'Transferred' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_UIntTypes.cs#L10
Cannot convert null literal to non-nullable reference type.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Types_ECPoint.cs#L11
Cannot convert null literal to non-nullable reference type.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Types.cs#L32
Possible null reference return.
Test: neo/src/Neo/NeoSystem.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/ProtocolSettings.cs#L121
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: src/Neo.SmartContract.Testing/Coverage/AbiMethod.cs#L90
Nullability of reference types in type of parameter 'other' doesn't match implemented member 'bool IEquatable<AbiMethod>.Equals(AbiMethod? other)' (possibly because of nullability attributes).
Test: src/Neo.SmartContract.Testing/Coverage/AbiMethod.cs#L83
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
Test: src/Neo.SmartContract.Testing/Native/RoleManagement.cs#L14
The event 'RoleManagement.OnDesignation' is never used
Test: src/Neo.SmartContract.Testing/Native/ContractManagement.cs#L18
The event 'ContractManagement.OnDestroy' is never used
Test: src/Neo.SmartContract.Testing/Native/NeoToken.cs#L49
The event 'NeoToken.OnCandidateStateChanged' is never used
Test: src/Neo.SmartContract.Testing/Native/OracleContract.cs#L12
The event 'OracleContract.OnOracleRequest' is never used
Test: src/Neo.SmartContract.Testing/Native/NeoToken.cs#L53
The event 'NeoToken.OnTransfer' is never used