fix: always check division overflow for int32 and int64 (#1287) #5290
Annotations
1 error and 32 warnings
PublishPackage
Process completed with exit code 1.
|
Test:
src/Neo.SmartContract.Framework/Services/Runtime.cs#L96
Cannot convert null literal to non-nullable reference type.
|
Test:
src/Neo.SmartContract.Framework/Native/NEO.cs#L29
Cannot convert null literal to non-nullable reference type.
|
Test:
src/Neo.SmartContract.Framework/Native/GAS.cs#L28
Cannot convert null literal to non-nullable reference type.
|
Test:
src/Neo.SmartContract.Framework/Native/WitnessRule.cs#L17
Non-nullable field 'Condition' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Test:
src/Neo.SmartContract.Framework/Native/Signer.cs#L16
Non-nullable field 'Account' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Test:
src/Neo.SmartContract.Framework/Native/Signer.cs#L18
Non-nullable field 'AllowedContracts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Test:
src/Neo.SmartContract.Framework/Native/Signer.cs#L19
Non-nullable field 'AllowedGroups' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Test:
src/Neo.SmartContract.Framework/Native/Signer.cs#L20
Non-nullable field 'Rules' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Test:
src/Neo.SmartContract.Framework/Native/ScriptHashCondition.cs#L16
Non-nullable field 'Hash' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Test:
src/Neo.SmartContract.Framework/Native/OrCondition.cs#L16
Non-nullable field 'Expressions' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Test:
src/Neo.SmartContract.Analyzer/BanCastMethodAnalyzer.cs#L20
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
|
Test:
src/Neo.SmartContract.Analyzer/BanCastMethodAnalyzer.cs#L20
This compiler extension should not be implemented in an assembly with target framework '.NET 9.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
|
Test:
src/Neo.SmartContract.Analyzer/BigIntegerCreationAnalyzer.cs#L27
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
|
Test:
src/Neo.SmartContract.Analyzer/BigIntegerCreationAnalyzer.cs#L27
This compiler extension should not be implemented in an assembly with target framework '.NET 9.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
|
Test:
src/Neo.SmartContract.Analyzer/DecimalUsageAnalyzer.cs#L28
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
|
Test:
src/Neo.SmartContract.Analyzer/DecimalUsageAnalyzer.cs#L28
This compiler extension should not be implemented in an assembly with target framework '.NET 9.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
|
Test:
src/Neo.SmartContract.Analyzer/KeywordUsageAnalyzer.cs#L20
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
|
Test:
src/Neo.SmartContract.Analyzer/KeywordUsageAnalyzer.cs#L20
This compiler extension should not be implemented in an assembly with target framework '.NET 9.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
|
Test:
src/Neo.SmartContract.Analyzer/LinqUsageAnalyzer.cs#L26
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
|
Test:
src/Neo.SmartContract.Analyzer/LinqUsageAnalyzer.cs#L26
This compiler extension should not be implemented in an assembly with target framework '.NET 9.0'. References to other target frameworks will cause the compiler to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1041.md)
|
PublishPackage:
src/Neo.SmartContract.Framework/Native/GAS.cs#L28
Cannot convert null literal to non-nullable reference type.
|
PublishPackage:
src/Neo.SmartContract.Framework/Native/NEO.cs#L29
Cannot convert null literal to non-nullable reference type.
|
PublishPackage:
src/Neo.SmartContract.Framework/Services/Runtime.cs#L96
Cannot convert null literal to non-nullable reference type.
|
PublishPackage:
src/Neo.SmartContract.Framework/TokenContract.cs#L37
Possible null reference argument for parameter 'text' in 'ByteString.explicit operator BigInteger(ByteString text)'.
|
PublishPackage:
src/Neo.SmartContract.Framework/TokenContract.cs#L43
Possible null reference argument for parameter 'text' in 'ByteString.explicit operator BigInteger(ByteString text)'.
|
PublishPackage:
src/Neo.SmartContract.Framework/Services/Transaction.cs#L16
Non-nullable field 'Hash' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
PublishPackage:
src/Neo.SmartContract.Framework/Services/Transaction.cs#L19
Non-nullable field 'Sender' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
PublishPackage:
src/Neo.SmartContract.Framework/Services/Transaction.cs#L23
Non-nullable field 'Script' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
PublishPackage:
src/Neo.SmartContract.Framework/Services/Notification.cs#L19
Non-nullable field 'ScriptHash' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
PublishPackage:
src/Neo.SmartContract.Framework/Services/Notification.cs#L24
Non-nullable field 'EventName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Release
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Release
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|