BUG: Intellisense no longer works with enum parameters?

If I have a public enum setup in a class such as:

Public Enum BillingFrequency

Daily = 0

Weekly = 1

Monthly = 2

Quarterly = 3

SemiAnnual = 4

Annual = 5

OnceOnly = 255


End Enum
 


And a method setup with a parameter that use the enum such as:


Public Function DoSomething(ByVal Frequency As BillingFrequency) As String
 
' Some Code to process

End Function
 
Write some code to call my DoSomething function from another class, when I type in the DoSomething( I don't get a list of options to select from ???  I should get a list of:
BillingFrequency.Daily
BillingFrequency.Weekly
BillingFrequency.Monthly
etc.

from which I can pick ... I don't get this list any more, just a repeat of the parameter name which is not very helpful ... this used to be available in VS 2010 prior to installing ReSharper 6.

Rob

1 comment

Hello Rob,

This is a known problem and it should get fixed in one of the upcoming releases.
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

If I have a public enum setup in a class such as:

Public Enum BillingFrequency
Daily = 0
Weekly = 1

Monthly = 2

Quarterly = 3

SemiAnnual = 4

Annual = 5

OnceOnly = 255

End Enum

And a method setup with a parameter that use the enum such as:

Public Function DoSomething(ByVal Frequency As BillingFrequency) As
String

' Some Code to process

End Function

Write some code to call my DoSomething function from another class,
when I type in the DoSomething( I don't get a list of options to
select from ???  I should get a list of:

BillingFrequency.Daily

BillingFrequency.Weekly

BillingFrequency.Monthly

etc.

from which I can pick ... I don't get this list any more, just a
repeat of the parameter name which is not very helpful ... this used
to be available in VS 2010 prior to installing ReSharper 6.

Rob

---
Original message URL:
http://devnet.jetbrains.net/message/5316945#5316945



0

Please sign in to leave a comment.