Skip to content

VB -> C#: Incorrect conversion of parameterized property assignment with =- operator #1177

Open
@nabrezzelt

Description

@nabrezzelt

VB.Net input code

_obj.ParameterizedProperty("bla") =- 1

Erroneous output

_obj.get_ParameterizedProperty("bla");

Expected output

_obj.set_ParameterizedProperty("bla", _obj.get_ParameterizedProperty("bla") - 1);

Details

  • Product in use: VS extension
  • Version in use: 9.2.7.0 (but not 100% sure)
  • Did you see it working in a previous version, which? no
  • Any other relevant information to the issue, or your interest in contributing a fix.
    ParameterizedProperty is a Property with multiple parameters

I've checked other cases where an assignment operator with a parameterized property was used in my codebase, and this seems to be the only case where this was not converted correctly... but I don't think I can give accurate reproducibility information :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    VB -> C#Specific to VB -> C# conversion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions