This is a migrated thread and some comments may be shown as answers.

c#: this cast is not required

1 Answer 49 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andrew
Top achievements
Rank 1
Veteran
Iron
Andrew asked on 05 Oct 2010, 04:09 PM
I am getting this in a few places in my code 'this cast is not required' but he cast is required I think this maybe a bug in justcode

examples:
Excel.Worksheet worksheet =  (Excel.Worksheet)sheets.get_Item(1);

System.Array myvalues = (System.Array)range.Cells.Value2;

    I also am getting this:

    The type 'system.data.dataset' is defined in an assembly that is not referenced
    An imstance of type 'system.data.dataset' can not be assihned to a variable of type 'stsrem.data.dataset'

    this assembly is referenced in my application

1 Answer, 1 is accepted

Sort by
0
Dennis :: Dr. Code
Telerik team
answered on 14 Oct 2010, 09:38 AM
Hi Andrew,

Thanks for reporting. We could reproduce this issue and will fix it.

Regards,
Dennis :: Dr. Code
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Code Analysis
Asked by
Andrew
Top achievements
Rank 1
Veteran
Iron
Answers by
Dennis :: Dr. Code
Telerik team
Share this question
or