Skip to content

NetStandardIDistributedCacheByteArrayProvider incorrectly passes CancellationToken #21

Description

@Paulskit

When using in .net core 3.1, the NetStandardIDistributedCacheByteArrayProvider does not pass CancellationToken received from Policy.

Please see this line:


image

When used in .net core 3.1, target framework is resolved to .net standard 2.1, thus we don't get CancellationToken passed and our code looks like this (decompiled via resharper):
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions