Repro Steps:
put inside a mapped class a custom indexer with two overloads like so:
public decimal this[int month] {
get {
return _someArray[month];
}
set {
_someArray[month] = value;
}
}
public decimal this[int front, int month] {
get {
return _someArray2D[front - 1, month - 1];
}
set {
_someArray2D[front - 1, month - 1] = value;
}
}
I get 'Sequence contains more than one matching element'
This item was migrated from the DevDiv work item tracking system [ID=458598].
This work item originated from connect.microsoft.com. A member of the EF team at Microsoft should close the related Connect issue when closing this work item.
put inside a mapped class a custom indexer with two overloads like so:
public decimal this[int month] {
get {
return _someArray[month];
}
set {
_someArray[month] = value;
}
}
public decimal this[int front, int month] {
get {
return _someArray2D[front - 1, month - 1];
}
set {
_someArray2D[front - 1, month - 1] = value;
}
}
I get 'Sequence contains more than one matching element'
This item was migrated from the DevDiv work item tracking system [ID=458598].
This work item originated from connect.microsoft.com. A member of the EF team at Microsoft should close the related Connect issue when closing this work item.