Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Explicit interface implementation of indexer is not converted correctly to VB #183

@dgrunwald

Description

@dgrunwald

SD-1758, originally created on 11/12/2010 21:36:39 by Siegfried Pammer

Take this code:
T IList.this[int index] {
    get {
        throw new NotImplementedException();
    }
    set {
        throw new NotImplementedException();
    }
}

and convert it to VB:

Private Default Property IList_Item(index As Integer) As T Implements IList(Of T).this
    Get
        Throw New NotImplementedException()
    End Get
    Set
        Throw New NotImplementedException()
    End Set
End Property

This code has some problems:

  1. it should be Implements IList(Of T).Item
  2. the Default modifier is not valid on Private properties

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions