partially fix return in try; optimizer replaces JMP->ENDTRY with only ENDTRY #1283
+246
−105
Annotations
21 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build Neo.Compiler.CSharp:
neo/src/Neo/Persistence/MemoryStore.cs#L76
Possible null reference assignment.
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Framework/Services/Runtime.cs#L96
Cannot convert null literal to non-nullable reference type.
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Framework/Native/NEO.cs#L29
Cannot convert null literal to non-nullable reference type.
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Framework/Native/GAS.cs#L28
Cannot convert null literal to non-nullable reference type.
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Framework/TokenContract.cs#L37
Possible null reference argument for parameter 'text' in 'ByteString.explicit operator BigInteger(ByteString text)'.
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Framework/TokenContract.cs#L43
Possible null reference argument for parameter 'text' in 'ByteString.explicit operator BigInteger(ByteString text)'.
|
Build Neo.Compiler.CSharp:
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.
|
Build Neo.Compiler.CSharp:
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.
|
Build Neo.Compiler.CSharp:
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.
|
Build Neo.Compiler.CSharp:
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.
|
Build Solution:
src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L98
Dereference of a possibly null reference.
|
Build Solution:
src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L98
Dereference of a possibly null reference.
|
Build Solution:
src/Neo.SmartContract.Analyzer/InitialValueAnalyzer.cs#L122
Dereference of a possibly null reference.
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
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)
|
Build Solution:
src/Neo.SmartContract.Analyzer/DoubleUsageAnalyzer.cs#L29
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)
|
Loading