Re: Unexcepted warning in ranorex class
Posted: Wed Nov 02, 2011 12:00 pm
Hi,
I have created a new project named sample_demo_marketsiq. I have created a new class in sample_demo_marketsiq named TestCase. In that, I have declared some variables. But when I am running the projects I am getting some warning. My code looks like this:
public class TestCase
{
ListItem item;
double Amount;
int StrikePoints;
....................
....................
code here
....................
.....................
}
I am getting following warnings.
The field 'sample_demo_marketsiq.TestCase.item' is never used(CS0169).
The field 'sample_demo_marketsiq.TestCase.Amount' is never used(CS0169)
The field 'sample_demo_marketsiq.TestCase.StrikePoints' is never used(CS0169)
Please suggest me what should I do?
I have created a new project named sample_demo_marketsiq. I have created a new class in sample_demo_marketsiq named TestCase. In that, I have declared some variables. But when I am running the projects I am getting some warning. My code looks like this:
public class TestCase
{
ListItem item;
double Amount;
int StrikePoints;
....................
....................
code here
....................
.....................
}
I am getting following warnings.
The field 'sample_demo_marketsiq.TestCase.item' is never used(CS0169).
The field 'sample_demo_marketsiq.TestCase.Amount' is never used(CS0169)
The field 'sample_demo_marketsiq.TestCase.StrikePoints' is never used(CS0169)
Please suggest me what should I do?