ashmind / Unbreakable

Alive, dammit!
MIT License
37 stars 9 forks source link

Allow System.Buffers #27

Open am11 opened 4 years ago

am11 commented 4 years ago

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 commented 2 years ago

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 commented 2 years ago

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