[Fix]
unalignment memory load in Neo.VM Unsafe.NotZero(ReadOnlySpan<byte>) and remove the use of unsafe
#10057
Annotations
3 errors and 10 warnings
src/Neo.VM/Utility.cs#L38
'ReadOnlySpan<byte>' does not contain a definition for 'IndexOfAnyExcept' and no accessible extension method 'IndexOfAnyExcept' accepting a first argument of type 'ReadOnlySpan<byte>' could be found (are you missing a using directive or an assembly reference?)
|
src/Neo.VM/Utility.cs#L38
'ReadOnlySpan<byte>' does not contain a definition for 'IndexOfAnyExcept' and no accessible extension method 'IndexOfAnyExcept' accepting a first argument of type 'ReadOnlySpan<byte>' could be found (are you missing a using directive or an assembly reference?)
|
|
benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_DeepCopy.cs#L98
Cannot convert null literal to non-nullable reference type.
|
benchmarks/Neo.VM.Benchmarks/obj/Debug/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
|
benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_Convert.cs#L21
Non-nullable field 'testItemsByType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L20
Non-nullable field 'baseLineScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L21
Non-nullable field 'script' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L22
Non-nullable field 'multiScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_DeepCopy.cs#L98
Cannot convert null literal to non-nullable reference type.
|
benchmarks/Neo.VM.Benchmarks/obj/Debug/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
|
benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_Convert.cs#L21
Non-nullable field 'testItemsByType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L20
Non-nullable field 'baseLineScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
This job failed
Loading