You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 24, 2022. It is now read-only.
Tracer.Instance.WriteWarning("MemoryStream in GetBufferAsSpan() wasn't created with a publiclyVisible:true byte[] bufffer, falling back to slow impl");
343
343
returnnewReadOnlyMemory<byte>(ms.ToArray());
@@ -350,7 +350,7 @@ public static ReadOnlySpan<byte> GetBufferAsSpan(this MemoryStream ms)
Tracer.Instance.WriteWarning("MemoryStream in GetBufferAsSpan() wasn't created with a publiclyVisible:true byte[] bufffer, falling back to slow impl");
356
356
returnnewReadOnlySpan<byte>(ms.ToArray());
@@ -363,7 +363,7 @@ public static byte[] GetBufferAsBytes(this MemoryStream ms)
363
363
{
364
364
returnms.GetBuffer();
365
365
}
366
-
catch(UnauthorizedAccessExceptione)
366
+
catch(UnauthorizedAccessException)
367
367
{
368
368
Tracer.Instance.WriteWarning("MemoryStream in GetBufferAsBytes() wasn't created with a publiclyVisible:true byte[] bufffer, falling back to slow impl");
0 commit comments