You can call FirstOrDefault on a NSSet but not a NSSet<T> for example. You can not call it on NSMutableArray but you can NSMutableArray<T>.
I've skeched out a reasonable example showing what I've found so far.
Steps to Reproduce
- Compile https://gist.github.com/chamons/2ef2fe4b0055fc82e13b367d63914c00
- Compare what you can and can not compile
- 🤔
Expected Behavior
All NSCollections to allow LINQ methods.
Actual Behavior
Inconsistency
Environment
Master XM/XI
You can call FirstOrDefault on a
NSSetbut not aNSSet<T>for example. You can not call it onNSMutableArraybut you canNSMutableArray<T>.I've skeched out a reasonable example showing what I've found so far.
Steps to Reproduce
Expected Behavior
All NSCollections to allow LINQ methods.
Actual Behavior
Inconsistency
Environment
Master XM/XI