Skip to content

New IntPtr(CLng(Console.ReadLine)) causes IDE0004 #40657

Closed as not planned
Closed as not planned
@vsfeedback

Description

This issue has been moved from a ticket on Developer Community.


New IntPtr(CLng(Console.ReadLine)) causes IDE0004, prompting to delete the CLng conversion.
However, if you really delete that, New IntPtr(Console.ReadLine) causes BC30057 and BC30519, complaining about overload failure.
So IDE0004 here is a wrong suggestion.


Original Comments

Leenrung on 12/21/2019, 08:12 PM:

Sorry, BC30519 only, no BC30057

Visual Studio Feedback System on 12/23/2019, 00:38 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Area-IDEBugDeveloper CommunityThe issue was originally reported on https://developercommunity.visualstudio.comFeature - IDE0004Remove unnecessary castIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringsLanguage-VBhelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type

    Projects

    • Status

      Completed

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions