Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1851

C#: Use IReadOnlyList<T> interface instead of List<T>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • C# - Compiler, C# - Library
    • None

    Description

      It would be better if the generated code used the IReadOnlyList interface instead of the List so that callers would be able to use a different underlying class.

      Attachments

        Activity

          People

            carlyeks Carl Yeksigian
            carlyeks Carl Yeksigian
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: