none
Microsoft.Bcl.Async in Silverlight 4 - CancellationTokenSource/CancellationToken are not CLS Compliant RRS feed

  • Question

  • Hi,

    I'm using the latest version of the Microsoft Async (Microsoft.Bcl.Async) NuGet package in a Silverlight 4 application and I'm receiving this specific "Warning As Error".

    Warning as Error: Argument type 'System.Threading.CancellationToken' is not CLS-compliant


    I know I can suppress it via this attribute

    [ClsCompliant(false)]

    but that would require me to put this all throughout my application, which is not feasible.

    Has anyone else run into this issue with this library? Is this a known issue? The rest (including async await, work perfectly.

    Cheers,

    Alastair

    Wednesday, November 27, 2013 5:23 AM

All replies