Fix coverage #3193
Annotations
20 warnings
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/Coverage/NeoDebugInfo.cs#L58
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
|
Test:
src/Neo.SmartContract.Testing/Extensions/TestExtensions.cs#L195
Possible null reference return.
|
Test:
src/Neo.SmartContract.Testing/Coverage/CoverageHit.cs#L179
Possible null reference argument for parameter 'input' in 'bool Regex.IsMatch(string input, string pattern)'.
|
Test:
src/Neo.SmartContract.Testing/Native/RoleManagement.cs#L14
The event 'RoleManagement.OnDesignation' is never used
|
Test:
src/Neo.SmartContract.Testing/Native/ContractManagement.cs#L14
The event 'ContractManagement.OnDeploy' is never used
|