|
Project
|
ReSharper
|
|
Priority
|
Major |
|
Type
|
Bug |
|
Fix versions
|
4.5.3 |
|
State
|
Fixed |
|
Assignee
|
eugene legkiy |
|
Subsystem
|
Generate |
|
Affected versions
|
No Affected versions |
|
Fixed in build
|
private static void MyMethod(MyClass1 searcher, MyClass2 oldItem)
{
if (oldItem != null && searcher != null)
{
try
{
// Some operation
}
catch (Exception e)
{
// Some logging code
}
}
}
if (oldItem == null || searcher == null)
{
}
else
{
try
{
// My operation
}
catch (Exception e)
{
// My logging
}
}
if (oldItem == null || searcher == null)
return;
try
{
// My operation
}
catch (Exception e)
{
// My logging
}
|
|