Add: add neo smart contract syntax analyzer #3271
Annotations
20 warnings
Build Neo.Compiler.CSharp:
neo/src/Neo/ProtocolSettings.cs#L123
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build Neo.Compiler.CSharp:
neo/src/Neo/Persistence/StoreFactory.cs#L39
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build Neo.Compiler.CSharp:
neo/src/Neo/NeoSystem.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build Neo.Compiler.CSharp:
neo/src/Neo/NeoSystem.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build Neo.Compiler.CSharp:
neo/src/Neo/NeoSystem.cs#L131
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Build Neo.Compiler.CSharp:
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).
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Testing/Coverage/AbiMethod.cs#L87
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Testing/Coverage/NeoDebugInfo.cs#L58
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Testing/Extensions/MockExtensions.cs#L32
Dereference of a possibly null reference.
|
Build Neo.Compiler.CSharp:
src/Neo.SmartContract.Testing/Coverage/CoverageHit.cs#L179
Possible null reference argument for parameter 'input' in 'bool Regex.IsMatch(string input, string pattern)'.
|
Build Solution:
src/Neo.SmartContract.Analyzer/VolatileKeywordUsageAnalyzer.cs#L79
'SyntaxEditor.SyntaxEditor(SyntaxNode, Workspace)' is obsolete: 'Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)'
|
Build Solution:
src/Neo.SmartContract.Analyzer/VolatileKeywordUsageAnalyzer.cs#L79
Possible null reference argument for parameter 'root' in 'SyntaxEditor.SyntaxEditor(SyntaxNode root, Workspace workspace)'.
|
Build Solution:
src/Neo.SmartContract.Analyzer/AnonymousFunctionUsageAnalyzer.cs#L100
'SyntaxEditor.SyntaxEditor(SyntaxNode, Workspace)' is obsolete: 'Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)'
|
Build Solution:
src/Neo.SmartContract.Analyzer/AnonymousFunctionUsageAnalyzer.cs#L100
Possible null reference argument for parameter 'root' in 'SyntaxEditor.SyntaxEditor(SyntaxNode root, Workspace workspace)'.
|
Build Solution:
src/Neo.SmartContract.Analyzer/SmartContractMethodNamingAnalyzer.Underline.cs#L88
The type 'Microsoft.CodeAnalysis.SyntaxNode?' cannot be used as type parameter 'TRoot' in the generic type or method 'SyntaxNodeExtensions.ReplaceToken<TRoot>(TRoot, SyntaxToken, SyntaxToken)'. Nullability of type argument 'Microsoft.CodeAnalysis.SyntaxNode?' doesn't match constraint type 'Microsoft.CodeAnalysis.SyntaxNode'.
|
Build Solution:
src/Neo.SmartContract.Analyzer/SmartContractMethodNamingAnalyzer.Underline.cs#L90
Possible null reference argument for parameter 'root' in 'Document Document.WithSyntaxRoot(SyntaxNode root)'.
|
Build Solution:
src/Neo.SmartContract.Analyzer/BigIntegerCreationAnalyzer.cs#L88
'SyntaxEditor.SyntaxEditor(SyntaxNode, Workspace)' is obsolete: 'Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)'
|
Build Solution:
src/Neo.SmartContract.Analyzer/BigIntegerCreationAnalyzer.cs#L88
Possible null reference argument for parameter 'root' in 'SyntaxEditor.SyntaxEditor(SyntaxNode root, Workspace workspace)'.
|
Build Solution:
src/Neo.SmartContract.Analyzer/FloatUsageAnalyzer.cs#L77
'SyntaxEditor.SyntaxEditor(SyntaxNode, Workspace)' is obsolete: 'Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)'
|
Build Solution:
src/Neo.SmartContract.Analyzer/FloatUsageAnalyzer.cs#L77
Possible null reference argument for parameter 'root' in 'SyntaxEditor.SyntaxEditor(SyntaxNode root, Workspace workspace)'.
|
Loading