Error in v0.82

Hi,

for the following code fragment

String appDSN = ConfigurationSettings.AppSettings["appDSN"];

ReSharper tells me

Argument type 'string' is not assignable to parameter type 'int'

and "appDSN" is marked. No problem with 81

3 comments
Comment actions Permalink

Werner,

thank you for your report. We have already fixed this problem.

"Werner Fleck" <no_mail@jetbrains.com> wrote in message
news:3897789.1085563579789.JavaMail.itn@is.intellij.net...

Hi,

>

for the following code fragment

>

String appDSN = ConfigurationSettings.AppSettings["appDSN"];

>

ReSharper tells me

>

Argument type 'string' is not assignable to parameter type 'int'

>

and "appDSN" is marked. No problem with 81



0
Comment actions Permalink

I do not know if this coud be applied to the same bug, but for the
following expression

xml["Node"]

where xml is an XmlElement, I get the following error from Reshaper:

Cannot apply indexing to an expression of type 'XmlElement'

No problems with build 81
Ciao

Dmitry Shaporenkov (JetBrains) wrote:

Werner,

thank you for your report. We have already fixed this problem.

"Werner Fleck" <no_mail@jetbrains.com> wrote in message
news:3897789.1085563579789.JavaMail.itn@is.intellij.net...

>>Hi,
>>
>>for the following code fragment
>>
>>String appDSN = ConfigurationSettings.AppSettings["appDSN"];
>>
>>ReSharper tells me
>>
>>Argument type 'string' is not assignable to parameter type 'int'
>>
>>and "appDSN" is marked. No problem with 81


0
Comment actions Permalink

Giorgio,

yes, both bugs are caused by the same problem.

"Giorgio Santini" <giorgio.santini@eris4.com> wrote in message
news:c91q6c$4p5$1@is.intellij.net...

I do not know if this coud be applied to the same bug, but for the
following expression

>

xml["Node"]

>

where xml is an XmlElement, I get the following error from Reshaper:

>

Cannot apply indexing to an expression of type 'XmlElement'

>

No problems with build 81
Ciao

>

Dmitry Shaporenkov (JetBrains) wrote:

>

Werner,

>

thank you for your report. We have already fixed this problem.

>

"Werner Fleck" <no_mail@jetbrains.com> wrote in message
news:3897789.1085563579789.JavaMail.itn@is.intellij.net...

>
>>Hi,
>>
>>for the following code fragment
>>
>>String appDSN = ConfigurationSettings.AppSettings["appDSN"];
>>
>>ReSharper tells me
>>
>>Argument type 'string' is not assignable to parameter type 'int'
>>
>>and "appDSN" is marked. No problem with 81
>
>
>



0

Please sign in to leave a comment.