System.Linq throwing AppKitThreadAccessException

This is happening while developing for Mac so I'm posting it here, though I suspect it may be a wider issue.

in an async method that gets passed an IEnumerable if I attempt to do a .Count() on it, I get an

AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread

exception.

Which I find baffling. Anyone know what is going on?

Best Answer

Answers

Sign In or Register to comment.