rsdn / nemerle

Nemerle language. Main repository.
http://nemerle.org
Other
622 stars 89 forks source link

Not possible to have indexer with 'ref' #13335

Closed NN--- closed 7 years ago

NN--- commented 7 years ago
class Q
{
 public Item[ref index: object]: object
 {
   get
   {
     object()
   }
 }
}
VladD2 commented 7 years ago

Is it possible in C#?

ssrmm commented 7 years ago

CS0631 ref and out are not valid in this context