[219] Bad compile constant value


BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, don't know what is causing this, but I have an enum member marked
with red squiggles and the 'Bad compile constant value'.

I have this enum:

public enum AccountType
{
Standard,
CertificateDeposit,
CommissionAndInterest,
Global,
}


When I was autocompleting it, the correct members appeared with the
following tooltip 'enum member UNKNOWNTYPE_ Standard'. If I did a
Ctrl+B to go to the enum definition it went without problem...the
assembly compiles without problems...

Just pointing out, as I don't know how to reproduce it in a small example.

Regards,
Pablo
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFECzdgvooSiBfQCSoRApefAJ9sVUh7IkyaHcH5mHTXNtZGdKLn0ACguDnZ
69GmFWj/Kr546wheIXKjw=
=MNIp
-


END PGP SIGNATURE-----

3 comments
Comment actions Permalink

I cannot reproduce this issue. Could youplease build a small example showing
it?

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Pablo Montilla" <melkor@adinet.com.uy> wrote in message
news:dufd0u$ptq$1@is.intellij.net...

---BEGIN PGP SIGNED MESSAGE---
Hash: SHA1

>

Hello, don't know what is causing this, but I have an enum member marked
with red squiggles and the 'Bad compile constant value'.

>

I have this enum:

>

public enum AccountType
{
Standard,
CertificateDeposit,
CommissionAndInterest,
Global,
}

>
>

When I was autocompleting it, the correct members appeared with the
following tooltip 'enum member UNKNOWNTYPE_ Standard'. If I did a
Ctrl+B to go to the enum definition it went without problem...the
assembly compiles without problems...

>

Just pointing out, as I don't know how to reproduce it in a small example.

>

Regards,
Pablo
---BEGIN PGP SIGNATURE---
Version: GnuPG v1.2.1 (MingW32)

>

iD8DBQFECzdgvooSiBfQCSoRApefAJ9sVUh7IkyaHcH5mHTXNtZGdKLn0ACguDnZ
69GmFWj/Kr546wheIXKjw=
=MNIp
---END PGP SIGNATURE---



0
Comment actions Permalink

Pablo,

apparently what happened was that ReSharper has not yet finished parsing
your source. Was that the case (was progress bar in lower right corner
still showing?). If it was not, then this is probably due to a bug that
is already fixed in 220.

Friendly,
Dmitry
Pablo Montilla wrote:

---BEGIN PGP SIGNED MESSAGE---
Hash: SHA1

Hello, don't know what is causing this, but I have an enum member marked
with red squiggles and the 'Bad compile constant value'.

I have this enum:

public enum AccountType
{
Standard,
CertificateDeposit,
CommissionAndInterest,
Global,
}


When I was autocompleting it, the correct members appeared with the
following tooltip 'enum member UNKNOWNTYPE_ Standard'. If I did a
Ctrl+B to go to the enum definition it went without problem...the
assembly compiles without problems...

Just pointing out, as I don't know how to reproduce it in a small example.

Regards,
Pablo
---BEGIN PGP SIGNATURE---
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFECzdgvooSiBfQCSoRApefAJ9sVUh7IkyaHcH5mHTXNtZGdKLn0ACguDnZ
69GmFWj/Kr546wheIXKjw=
=MNIp
---END PGP SIGNATURE---



--
Dmitry Lomov
Senior Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"

0
Comment actions Permalink

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dmitry Lomov (JetBrains) wrote:

Pablo,

apparently what happened was that ReSharper has not yet finished parsing
your source. Was that the case (was progress bar in lower right corner
still showing?). If it was not, then this is probably due to a bug that
is already fixed in 220.

Friendly,
Dmitry

OK, probably the bug then. I'll test the new build...I should point that
it was the first time that happened.

Regards,
Pablo
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFEDGAfvooSiBfQCSoRAhXUAKDgdCzyNPNqCyoK1WrDzkPekFqCsACfUdr2
9kQ5wpw/JU/Msm5bRFb5gRU=
=5JHP
-


END PGP SIGNATURE-----

0

Please sign in to leave a comment.