J
Jan Hudecek
Hello everybody,
sorry for the scandalous subject but i cant help it
i have a code that shows up in reflector like this
public int CurrentQuestion(int index, int otherpeopleindex, bool
onrelations)
{
int num = otherpeopleindex + 1;
if (onrelations)
{
for (int i = 0; i < index; i++)
{
if (this.questionOnRelationsField.IsMap)
{
num++;
}
else
{
num += otherpeopleindex;
}
}
return num;
}
return ((index + 1) + this.QuestionOnRelationsCount);
}
but everytime the function executes, the debugger just steps on the
first line and then immediately returns (even though the code below
sometimes gets executed).
Does anyone know whats going on here?
Thanks,
Jan
sorry for the scandalous subject but i cant help it
i have a code that shows up in reflector like this
public int CurrentQuestion(int index, int otherpeopleindex, bool
onrelations)
{
int num = otherpeopleindex + 1;
if (onrelations)
{
for (int i = 0; i < index; i++)
{
if (this.questionOnRelationsField.IsMap)
{
num++;
}
else
{
num += otherpeopleindex;
}
}
return num;
}
return ((index + 1) + this.QuestionOnRelationsCount);
}
but everytime the function executes, the debugger just steps on the
first line and then immediately returns (even though the code below
sometimes gets executed).
Does anyone know whats going on here?
Thanks,
Jan