StephenCleary / AsyncEx

A helper library for async/await.
MIT License
3.53k stars 356 forks source link

Make library CLS compliant #4

Closed ghost closed 9 years ago

ghost commented 10 years ago

Please change CLSCompliant(false) to CLSCompliant(true). This would enable me to consume the library in CLS compliant libraries. Thank you!

StephenCleary commented 10 years ago

There are a significant number of CLR types exposed by AsyncEx that are not CLS compliant, including CancellationToken, TaskFactory, TaskAwaiter, and TaskScheduler. If I made AsyncEx a CLS-compliant library, there would still be a large part of the API that is not CLS-compliant. Are you sure this would help you?