Skip to content

Instantly share code, notes, and snippets.

@maxim-s
Created December 1, 2016 09:06
Show Gist options
  • Save maxim-s/41ef6139bebe0e728594f5ded28f2b58 to your computer and use it in GitHub Desktop.
Save maxim-s/41ef6139bebe0e728594f5ded28f2b58 to your computer and use it in GitHub Desktop.
V3010 The return value of function 'Zip' is required to be utilized. DaemonMsgCreateSerializerSpec.cs 100
V3001 There are identical sub-expressions 'equalTestActorRef' to the left and to the right of the '==' operator. ActorRefSpec.cs 28
V3001 There are identical sub-expressions 'equalTestActorRef' to the left and to the right of the '!=' operator. ActorRefSpec.cs 29
V3061 Parameter 'actor' is always rewritten in method body before being used. PropsSpec.cs 104
V3022 Expression 'readPolicy.Item1' is always not null. EndpointManager.cs 629
V3080 Possible null dereference. Consider inspecting 'pass'. EndpointManager.cs 733
V3022 Expression 'failedActor != null' is always true. ActorCell.FaultHandling.cs 62
V3010 The return value of function 'ResolveReplyTo' is required to be utilized. Futures.cs 43
V3061 Parameter 'actor' is always rewritten in method body before being used. Props.cs 630
V3061 Parameter 'actor' is always rewritten in method body before being used. Props.cs 658
V3061 Parameter 'actor' is always rewritten in method body before being used. Props.cs 684
V3012 The '?:' operator, regardless of its conditional expression, always returns one and the same value. ByteIterator.cs 437
V3012 The '?:' operator, regardless of its conditional expression, always returns one and the same value. ByteIterator.cs 445
V3061 Parameter 'actor' is always rewritten in method body before being used. Resolver.cs 32
V3022 Expression '_direction != null' is always true. DataTypes.cs 437
V3022 Expression '_direction != null' is always true. DataTypes.cs 499
V3061 Parameter 'a' is always rewritten in method body before being used. Player.cs 123
V3094 Possible exception when deserializing. The NotSerializableEvent(SerializationInfo, StreamingContext) constructor is missing. JournalSpec.cs 135
V3096 Possible exception when serializing 'NotSerializableEvent' type. [Serializable] attribute is missing. JournalSpec.cs 135
V3061 Parameter 'port' is always rewritten in method body before being used. TestTransportAssociationStressSpec.cs 43
V3061 Parameter 'port' is always rewritten in method body before being used. TestTransportRemoteMessagingThroughputSpec.cs 45
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowOrElseSpec.cs 134
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowOrElseSpec.cs 146
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowOrElseSpec.cs 160
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowOrElseSpec.cs 178
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowOrElseSpec.cs 190
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowFlattenMergeSpec.cs 221
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowInitialDelaySpec.cs 70
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowKillSwitchSpec.cs 115
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowKillSwitchSpec.cs 473
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowIdleInjectSpec.cs 121
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowIdleInjectSpec.cs 162
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowMergeSpec.cs 157
V3010 The return value of function 'EnsureSubscription' is required to be utilized. GraphZipSpec.cs 233
V3010 The return value of function 'EnsureSubscription' is required to be utilized. GraphZipNSpec.cs 208
V3010 The return value of function 'EnsureSubscription' is required to be utilized. FlowBufferSpec.cs 224
V3010 The return value of function 'EnsureSubscription' is required to be utilized. JsonFramingSpec.cs 451
V3010 The return value of function 'EnsureSubscription' is required to be utilized. QueueSourceSpec.cs 343
V3010 The return value of function 'EnsureSubscription' is required to be utilized. QueueSourceSpec.cs 344
V3010 The return value of function 'EnsureSubscription' is required to be utilized. ActorGraphInterpreterSpec.cs 226
Analysis failed for 'C:\projects\akka.net\src\contrib\cluster\Akka.DistributedData\ReadAggregator.cs' (85) 0
Exception message: 0
Sequence contains no elements 0
Stack: at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source) 0
at ProgramVerificationSystems.PVSStudio.Analyzer.Rules.V3005CSharpRule.IsAntiAssignment(SemanticModelAdapter model, SyntaxNode node) in D:\CCNetProjects\PVS-Studio_Setup\WorkDir\PVS-Studio\PVS-Studio\Analyzer\Rules\V3005CSharpRule.cs:line 237 0
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) 0
at ProgramVerificationSystems.PVSStudio.Analyzer.Rules.V3005CSharpRule.IsAntiAssginmentInIfElse(SemanticModelAdapter model, IfStatementSyntax ifNode, String identifier) in D:\CCNetProjects\PVS-Studio_Setup\WorkDir\PVS-Studio\PVS-Studio\Analyzer\Rules\V3005CSharpRule.cs:line 252 0
at ProgramVerificationSystems.PVSStudio.Analyzer.Rules.V3005CSharpRule.AreEqualsExprsInAssignment(SemanticModelAdapter model, AssignmentExpressionSyntax node, ExpressionSyntax left, ExpressionSyntax right, String& varName, Boolean checkTriviality) in D:\CCNetProjects\PVS-Studio_Setup\WorkDir\PVS-Studio\PVS-Studio\Analyzer\Rules\V3005CSharpRule.cs:line 208 0
at ProgramVerificationSystems.PVSStudio.Analyzer.Rules.V3005CSharpRule.ApplyRuleV3005(SemanticModelAdapter model, AssignmentExpressionSyntax node, String& varName, Tuple`2& errNodes) in D:\CCNetProjects\PVS-Studio_Setup\WorkDir\PVS-Studio\PVS-Studio\Analyzer\Rules\V3005CSharpRule.cs:line 72 0
V052 A critical error had occurred. ReadAggregator.cs 85
at ProgramVerificationSystems.PVSStudio.Analyzer.Rules.V3005CSharpRule.VisitAssignmentExpression(SemanticModelAdapter model, VisitInfo visitInfo, AssignmentExpressionSyntax node, AnalysisResults results) in D:\CCNetProjects\PVS-Studio_Setup\WorkDir\PVS-Studio\PVS-Studio\Analyzer\Rules\V3005CSharpRule.cs:line 65 0
at ProgramVerificationSystems.PVSStudio.Analyzer.Core.Walkers.CSharpRulesWalker.<>c__DisplayClass48_0.<VisitAssignmentExpression>b__0(IRuleBase rule, VisitInfo visitInfo) in D:\CCNetProjects\PVS-Studio_Setup\WorkDir\PVS-Studio\PVS-Studio\Analyzer\Core\Walkers\CSharpRulesWalker.cs:line 376 0
at ProgramVerificationSystems.PVSStudio.Analyzer.Core.Walkers.CSharpRulesWalker.VisitRules(Type typeRuleBase, SyntaxNode node, Action`2 actionVisitRule, VisitInfo visitInfo) in D:\CCNetProjects\PVS-Studio_Setup\WorkDir\PVS-Studio\PVS-Studio\Analyzer\Core\Walkers\CSharpRulesWalker.cs:line 177 0
V3019 Possibly an incorrect variable is compared to null after type conversion using 'as' keyword. Check variables 'obj', 'other'. WriteAggregator.cs 180
V3010 The return value of function 'Aggregate' is required to be utilized. LWWRegisterSpec.cs 84
V3010 The return value of function 'Aggregate' is required to be utilized. LWWRegisterSpec.cs 97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment