Examples of errors detected by the V3056 diagnostic.


V3056. Consider reviewing the correctness of 'X' item's usage.


FlashDevelop

V3056 Consider reviewing the correctness of 'a1' item's usage. LzmaEncoder.cs 225


public void SetPrices(....)
{
  UInt32 a0 = _choice.GetPrice0();
  UInt32 a1 = _choice.GetPrice1();
  UInt32 b0 = a1 + _choice2.GetPrice0(); //<=
  UInt32 b1 = a1 + _choice2.GetPrice1();
  ....
}


Do you make errors in the code?

Check your code
with PVS-Studio

Static code analysis
for C, C++ and C#

goto PVS-Studio;