Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow System.Buffers #27

Open
am11 opened this issue Oct 8, 2019 · 2 comments
Open

Allow System.Buffers #27

am11 opened this issue Oct 8, 2019 · 2 comments

Comments

@am11
Copy link

am11 commented Oct 8, 2019

Please consider allowing System.Buffers namespace. Currently:

class Program
{
    static void Main() => System.Buffers.ArrayPool<char>.Shared.Rent(10);
}

throws:

Unbreakable.AssemblyGuardException: Namespace System.Buffers is not allowed.

@ashmind
Copy link
Owner

ashmind commented Nov 13, 2021

Hi @am11, just FYI this library is being deprecated (not closing any issues in case someone still wants to contribute a fix).
If your goal is to be able to use this in SharpLab rather than in your own Unbreakable integration, good news is SharpLab's new Run model will allow it.

@am11
Copy link
Author

am11 commented Nov 13, 2021

@ashmind, thanks. I was using sharplab.io, this issue is indeed fixed there (i.e. no exception in Run). 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants