void DoSomething1(bool a, bool b)
{
...
if(a==b) DoSomething2(a); // A
if(a==b) DoSomething2(b); // B
...
}