Add: add neo smart contract syntax analyzer #3271
Annotations
20 warnings
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:
src/Neo.SmartContract.Analyzer/VolatileKeywordUsageAnalyzer.cs#L79
'SyntaxEditor.SyntaxEditor(SyntaxNode, Workspace)' is obsolete: 'Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)'
|
Test:
src/Neo.SmartContract.Analyzer/VolatileKeywordUsageAnalyzer.cs#L79
Possible null reference argument for parameter 'root' in 'SyntaxEditor.SyntaxEditor(SyntaxNode root, Workspace workspace)'.
|
Test:
src/Neo.SmartContract.Analyzer/AnonymousFunctionUsageAnalyzer.cs#L100
'SyntaxEditor.SyntaxEditor(SyntaxNode, Workspace)' is obsolete: 'Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)'
|
Test:
src/Neo.SmartContract.Analyzer/AnonymousFunctionUsageAnalyzer.cs#L100
Possible null reference argument for parameter 'root' in 'SyntaxEditor.SyntaxEditor(SyntaxNode root, Workspace workspace)'.
|
Test:
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'.
|
Test:
src/Neo.SmartContract.Analyzer/SmartContractMethodNamingAnalyzer.Underline.cs#L90
Possible null reference argument for parameter 'root' in 'Document Document.WithSyntaxRoot(SyntaxNode root)'.
|
Test:
src/Neo.SmartContract.Analyzer/BigIntegerCreationAnalyzer.cs#L88
'SyntaxEditor.SyntaxEditor(SyntaxNode, Workspace)' is obsolete: 'Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)'
|
Test:
src/Neo.SmartContract.Analyzer/BigIntegerCreationAnalyzer.cs#L88
Possible null reference argument for parameter 'root' in 'SyntaxEditor.SyntaxEditor(SyntaxNode root, Workspace workspace)'.
|
Test:
src/Neo.SmartContract.Analyzer/FloatUsageAnalyzer.cs#L77
'SyntaxEditor.SyntaxEditor(SyntaxNode, Workspace)' is obsolete: 'Use SyntaxEditor(SyntaxNode, HostWorkspaceServices)'
|
Test:
src/Neo.SmartContract.Analyzer/FloatUsageAnalyzer.cs#L77
Possible null reference argument for parameter 'root' in 'SyntaxEditor.SyntaxEditor(SyntaxNode root, Workspace workspace)'.
|