Build 86 and Infragistic Controls

I noticed that ReSharper has a problem recognizing Infragistics Controls as
a Systems.Windows.Forms.Control . As a result, it'll highlight everywhere
that an infragistics control is used but a windows control is expected as a
param. Has anyone else run into this?

Thanks,
Shamir


11 comments
Comment actions Permalink

Shamir,

with what Infragistics controls do you observe this problem? Can you
reproduce it on a simple solution?
In general, we've checked ReSharper on Infragistics assemblies but in your
particular situation
the problem may be in the set of assemblies referenced in your projects.

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbc45r$mte$1@is.intellij.net...

I noticed that ReSharper has a problem recognizing Infragistics Controls

as

a Systems.Windows.Forms.Control . As a result, it'll highlight everywhere
that an infragistics control is used but a windows control is expected as

a

param. Has anyone else run into this?

>

Thanks,
Shamir

>
>


0
Comment actions Permalink

Here are a few examples:

Infragistics.Win.UltraWinGrid.UltraCombo

Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit

Infragistics.Win.Misc.UltraLabel



We're using the Version # 3.1.20041.15 windows controls assemblies.

The behavior is happening in small and simple projects and in larger and
more complex projects.

Here is an example. I create a windows application project. On the default
form, I drop an UltraCombo and view the code generated. Resharper highlights
the following lines:

this.ultraCombo1.Location = new System.Drawing.Point(88, 96);

this.ultraCombo1.Name = "ultraCombo1";

this.ultraCombo1.Size = new System.Drawing.Size(75, 21);

this.ultraCombo1.TabIndex = 0;

complaining that for the members Location, Name, Size and TabIndex it
'Cannot Resolve Symbol' and they are highlighted in Red.



In the following line:

this.Controls.Add(this.ultraCombo1);

here it complains 'Argument type 'Infragistics.Win.UltraWinGrid.UltraCombo'
is not assignable to parameter type 'System.Windows.Forms.Control''



Please find attached a zip file with my test project.

Shamir





"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:cbc5c9$vae$1@is.intellij.net...

Shamir,

>

with what Infragistics controls do you observe this problem? Can you
reproduce it on a simple solution?
In general, we've checked ReSharper on Infragistics assemblies but in your
particular situation
the problem may be in the set of assemblies referenced in your projects.

>

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbc45r$mte$1@is.intellij.net...

I noticed that ReSharper has a problem recognizing Infragistics Controls

as

a Systems.Windows.Forms.Control . As a result, it'll highlight

everywhere

that an infragistics control is used but a windows control is expected

as

a

param. Has anyone else run into this?

>

Thanks,
Shamir

>
>

>
>





Attachment(s):
WindowsApplication1.zip
0
Comment actions Permalink

Shamir,

thanks for your test project. I've just checked current 89 build of
ReSharper on this project, and it
seems to work without the problem you mentioned. This problem was definitely
observed and
fixed in a earlier build, though unfortunately I fail to remember when
exactly. Anyway, please check it when you
upgrade to 89 and report if it is still reproducible for you.

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbc866$j7j$1@is.intellij.net...

Here are a few examples:

>

Infragistics.Win.UltraWinGrid.UltraCombo

>

Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit

>

Infragistics.Win.Misc.UltraLabel

>
>
>

We're using the Version # 3.1.20041.15 windows controls assemblies.

>

The behavior is happening in small and simple projects and in larger and
more complex projects.

>

Here is an example. I create a windows application project. On the default
form, I drop an UltraCombo and view the code generated. Resharper

highlights

the following lines:

>

this.ultraCombo1.Location = new System.Drawing.Point(88, 96);

>

this.ultraCombo1.Name = "ultraCombo1";

>

this.ultraCombo1.Size = new System.Drawing.Size(75, 21);

>

this.ultraCombo1.TabIndex = 0;

>

complaining that for the members Location, Name, Size and TabIndex it
'Cannot Resolve Symbol' and they are highlighted in Red.

>
>
>

In the following line:

>

this.Controls.Add(this.ultraCombo1);

>

here it complains 'Argument type

'Infragistics.Win.UltraWinGrid.UltraCombo'

is not assignable to parameter type 'System.Windows.Forms.Control''

>
>
>

Please find attached a zip file with my test project.

>

Shamir

>
>
>
>
>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:cbc5c9$vae$1@is.intellij.net...

>

Shamir,

>

with what Infragistics controls do you observe this problem? Can you
reproduce it on a simple solution?
In general, we've checked ReSharper on Infragistics assemblies but in

your

particular situation
the problem may be in the set of assemblies referenced in your projects.

>

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbc45r$mte$1@is.intellij.net...

I noticed that ReSharper has a problem recognizing Infragistics

Controls

as

a Systems.Windows.Forms.Control . As a result, it'll highlight

everywhere

that an infragistics control is used but a windows control is expected

as

a

param. Has anyone else run into this?

>

Thanks,
Shamir

>
>

>
>

>
>
>


0
Comment actions Permalink

Thanks I'll check it in Build 89.

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:cbcacc$393$1@is.intellij.net...

Shamir,

>

thanks for your test project. I've just checked current 89 build of
ReSharper on this project, and it
seems to work without the problem you mentioned. This problem was

definitely

observed and
fixed in a earlier build, though unfortunately I fail to remember when
exactly. Anyway, please check it when you
upgrade to 89 and report if it is still reproducible for you.

>

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbc866$j7j$1@is.intellij.net...

Here are a few examples:

>

Infragistics.Win.UltraWinGrid.UltraCombo

>

Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit

>

Infragistics.Win.Misc.UltraLabel

>
>
>

We're using the Version # 3.1.20041.15 windows controls assemblies.

>

The behavior is happening in small and simple projects and in larger and
more complex projects.

>

Here is an example. I create a windows application project. On the

default

form, I drop an UltraCombo and view the code generated. Resharper

highlights

the following lines:

>

this.ultraCombo1.Location = new System.Drawing.Point(88, 96);

>

this.ultraCombo1.Name = "ultraCombo1";

>

this.ultraCombo1.Size = new System.Drawing.Size(75, 21);

>

this.ultraCombo1.TabIndex = 0;

>

complaining that for the members Location, Name, Size and TabIndex it
'Cannot Resolve Symbol' and they are highlighted in Red.

>
>
>

In the following line:

>

this.Controls.Add(this.ultraCombo1);

>

here it complains 'Argument type

'Infragistics.Win.UltraWinGrid.UltraCombo'

is not assignable to parameter type 'System.Windows.Forms.Control''

>
>
>

Please find attached a zip file with my test project.

>

Shamir

>
>
>
>
>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:cbc5c9$vae$1@is.intellij.net...

>

Shamir,

>

with what Infragistics controls do you observe this problem? Can you
reproduce it on a simple solution?
In general, we've checked ReSharper on Infragistics assemblies but in

your

particular situation
the problem may be in the set of assemblies referenced in your

projects.

>

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbc45r$mte$1@is.intellij.net...

I noticed that ReSharper has a problem recognizing Infragistics

Controls

as

a Systems.Windows.Forms.Control . As a result, it'll highlight

everywhere

that an infragistics control is used but a windows control is

expected

as

a

param. Has anyone else run into this?

>

Thanks,
Shamir

>
>

>
>

>
>
>

>
>


0
Comment actions Permalink

In build #88 I've got some errors when using Infragistics controls:
Argument type 'Infragistics.Win.UltraWinGrid.UltraGrid' is not assignable to parameter type 'System.Windows.Forms.Control'

Cannot convert source type 'Infragistics.Win.DefaultableBoolean' to target type 'Infragistics.Win.DefaultableBoolean'

0
Comment actions Permalink

I just downloaded Build 89, and am still encoutering the same problem.


"Sergey Kurdiukov" <no_mail@jetbrains.com> wrote in message
news:30439453.1088058439523.JavaMail.itn@is.intellij.net...

In build #88 I've got some errors when using Infragistics controls:
+Argument type 'Infragistics.Win.UltraWinGrid.UltraGrid' is not

assignable to parameter type 'System.Windows.Forms.Control'+
>

+Cannot convert source type 'Infragistics.Win.DefaultableBoolean' to

target type 'Infragistics.Win.DefaultableBoolean'+


0
Comment actions Permalink

Shamir,

can you reproduce it on the test solution you attached to one of the
previous posts?

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbfbee$tmf$1@is.intellij.net...

I just downloaded Build 89, and am still encoutering the same problem.

>
>

"Sergey Kurdiukov" <no_mail@jetbrains.com> wrote in message
news:30439453.1088058439523.JavaMail.itn@is.intellij.net...

In build #88 I've got some errors when using Infragistics controls:
+Argument type 'Infragistics.Win.UltraWinGrid.UltraGrid' is not

assignable to parameter type 'System.Windows.Forms.Control'+
>

+Cannot convert source type 'Infragistics.Win.DefaultableBoolean' to

target type 'Infragistics.Win.DefaultableBoolean'+

>
>


0
Comment actions Permalink

Could you also please describe how Infragistics assemblies are installed on
your machine (in particular,
how the assemblies are distributed among folders?). This information may be
relevant to the problem you're
experiencing.

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbfbee$tmf$1@is.intellij.net...

I just downloaded Build 89, and am still encoutering the same problem.

>
>

"Sergey Kurdiukov" <no_mail@jetbrains.com> wrote in message
news:30439453.1088058439523.JavaMail.itn@is.intellij.net...

In build #88 I've got some errors when using Infragistics controls:
+Argument type 'Infragistics.Win.UltraWinGrid.UltraGrid' is not

assignable to parameter type 'System.Windows.Forms.Control'+
>

+Cannot convert source type 'Infragistics.Win.DefaultableBoolean' to

target type 'Infragistics.Win.DefaultableBoolean'+

>
>


0
Comment actions Permalink

Dmitry:

I cannot reproduce the problem in the project structure I posted, but it
still happens on my actual project.

Shamir

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:cbgld7$a6h$1@is.intellij.net...

Shamir,

>

can you reproduce it on the test solution you attached to one of the
previous posts?

>

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbfbee$tmf$1@is.intellij.net...

I just downloaded Build 89, and am still encoutering the same problem.

>
>

"Sergey Kurdiukov" <no_mail@jetbrains.com> wrote in message
news:30439453.1088058439523.JavaMail.itn@is.intellij.net...

In build #88 I've got some errors when using Infragistics controls:
+Argument type 'Infragistics.Win.UltraWinGrid.UltraGrid' is not

assignable to parameter type 'System.Windows.Forms.Control'+
>

+Cannot convert source type 'Infragistics.Win.DefaultableBoolean' to

target type 'Infragistics.Win.DefaultableBoolean'+

>
>

>
>


0
Comment actions Permalink

Could you please tell more about your project then? The most interesting
things are what projects are included in
the solution and what assemblies are referenced in projects where you
experience this problem.

Thanks,
Dmitry

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbhncu$pr2$1@is.intellij.net...

Dmitry:

>

I cannot reproduce the problem in the project structure I posted, but it
still happens on my actual project.

>

Shamir

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:cbgld7$a6h$1@is.intellij.net...

Shamir,

>

can you reproduce it on the test solution you attached to one of the
previous posts?

>

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbfbee$tmf$1@is.intellij.net...

I just downloaded Build 89, and am still encoutering the same problem.

>
>

"Sergey Kurdiukov" <no_mail@jetbrains.com> wrote in message
news:30439453.1088058439523.JavaMail.itn@is.intellij.net...

In build #88 I've got some errors when using Infragistics controls:
+Argument type 'Infragistics.Win.UltraWinGrid.UltraGrid' is not

assignable to parameter type 'System.Windows.Forms.Control'+
>

+Cannot convert source type 'Infragistics.Win.DefaultableBoolean'

to

target type 'Infragistics.Win.DefaultableBoolean'+

>
>

>
>

>
>


0
Comment actions Permalink

Dmitry:

Sorry for the delay. I just got back to the office. With Build 92, this
seems to go away altogether.

Shamir

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:cbjgb0$tfb$1@is.intellij.net...

Could you please tell more about your project then? The most interesting
things are what projects are included in
the solution and what assemblies are referenced in projects where you
experience this problem.

>

Thanks,
Dmitry

>

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbhncu$pr2$1@is.intellij.net...

Dmitry:

>

I cannot reproduce the problem in the project structure I posted, but it
still happens on my actual project.

>

Shamir

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:cbgld7$a6h$1@is.intellij.net...

Shamir,

>

can you reproduce it on the test solution you attached to one of the
previous posts?

>

"Shamir Juma" <shamir.juma@wellpoint.ca> wrote in message
news:cbfbee$tmf$1@is.intellij.net...

I just downloaded Build 89, and am still encoutering the same

problem.

>
>

"Sergey Kurdiukov" <no_mail@jetbrains.com> wrote in message
news:30439453.1088058439523.JavaMail.itn@is.intellij.net...

In build #88 I've got some errors when using Infragistics

controls:

+Argument type 'Infragistics.Win.UltraWinGrid.UltraGrid' is not

assignable to parameter type 'System.Windows.Forms.Control'+
>

+Cannot convert source type

'Infragistics.Win.DefaultableBoolean'

to

target type 'Infragistics.Win.DefaultableBoolean'+

>
>

>
>

>
>

>
>


0

Please sign in to leave a comment.