Skip to content

[Framwork Add]Add examples #3276

[Framwork Add]Add examples

[Framwork Add]Add examples #3276

Triggered via pull request February 26, 2024 08:11
Status Failure
Total duration 2m 21s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 20 warnings
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/OwnableContractTests.cs#L14
The type or namespace name 'Ownable' could not be found (are you missing a using directive or an assembly reference?)
Test: tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/OwnableContractTests.cs#L14
The type or namespace name 'Ownable' could not be found (are you missing a using directive or an assembly reference?)
Test
Process completed with exit code 1.
Test: neo/src/Neo/ProtocolSettings.cs#L123
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/Persistence/StoreFactory.cs#L39
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L131
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/MockExtensions.cs#L32
Dereference of a possibly null reference.
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: examples/Example.SmartContract.ContractCall/ContractCall.cs#L31
Non-nullable field 'DummyTarget' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Test: examples/Example.SmartContract.ContractCall/ContractCall.cs#L31
Field 'SampleContractCall.DummyTarget' is never assigned to, and will always have its default value null
Test: examples/Example.SmartContract.ContractCall/ContractCall.cs#L28
Missing XML comment for publicly visible type or member 'SampleContractCall'
Test: examples/Example.SmartContract.ContractCall/ContractCall.cs#L33
Missing XML comment for publicly visible type or member 'SampleContractCall.onNEP17Payment(UInt160, BigInteger, BigInteger)'
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_ExtraAttribute.cs#L9
'Contract_ExtraAttribute.Main(string, object[])' has the wrong signature to be an entry point
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_SupportedStandard17Enum.cs#L16
Non-nullable property 'Symbol' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_SupportedStandard11Enum.cs#L13
Non-nullable property 'Symbol' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test: tests/Neo.SmartContract.Framework.TestContracts/Contract_ExecutionEngine.cs#L24
'Runtime.ScriptContainer' is obsolete: 'Use System.Runtime.Transaction instead'