You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code won't work, because Array doesn't have an implementation for this method. Array can be used as ICollection<T>, IEnumerable<T> and IList<T>
The implementations for these interfaces are in System.SZArrayHelper, but the compiler needs an implementation that replaces calls to the generic method on arrays with calls to the methods in SZArrayHelper.
From @jp2masa on February 21, 2017 19:19
Currently we don't handle generic methods on arrays.
Example:
This code won't work, because Array doesn't have an implementation for this method. Array can be used as ICollection<T>, IEnumerable<T> and IList<T>
The implementations for these interfaces are in System.SZArrayHelper, but the compiler needs an implementation that replaces calls to the generic method on arrays with calls to the methods in SZArrayHelper.
Copied from original issue: CosmosOS/Cosmos#583
The text was updated successfully, but these errors were encountered: