Skip to content

Refactor await native #3057

Refactor await native

Refactor await native #3057

Triggered via pull request February 20, 2024 09:08
@shargonshargon
synchronize #917
core-fix-ct
Status Success
Total duration 2m 34s
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: 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: 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_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_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: neo/src/Neo/ProtocolSettings.cs#L121
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/NeoSystem.cs#L118
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#L94
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#L87
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
Test: src/Neo.SmartContract.Testing/Native/NativeArtifacts.cs#L116
Possible null reference argument for parameter 'method' in 'void NativeArtifacts.Await(MethodInfo method, NativeContract native, TestingApplicationEngine engine)'.
Test: src/Neo.SmartContract.Testing/Native/NativeArtifacts.cs#L130
Possible null reference argument for parameter 'method' in 'void NativeArtifacts.Await(MethodInfo method, NativeContract native, TestingApplicationEngine engine)'.
Test: src/Neo.SmartContract.Testing/Coverage/CoverageHit.cs#L167
Possible null reference argument for parameter 'input' in 'bool Regex.IsMatch(string input, string pattern)'.
Test: src/Neo.SmartContract.Testing/Native/NeoToken.cs#L57
The event 'NeoToken.OnVote' is never used
Test: src/Neo.SmartContract.Testing/Native/ContractManagement.cs#L18
The event 'ContractManagement.OnDestroy' is never used