mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* Add RuntimeHelpers.GetSubArray. Add missing types to NS's TypeForwarders.cs * more NS2.1 changes * ios changes * Update Decimal (it's now readonly struct) * fix mcs * add ROMC.cs * Fix tests, finish monodroid profile * Make SRE-not-supported NS2.1 compatible * Make monotouch_tv and watch NS2.1 compatible * make some SRE types more NS21 compatible (non-abstract now) * bump corefx * More NS21 fixes * bump coreclr acceptance tests * Bump API snapshot submodule * [csproj] Update project files
13 lines
765 B
C#
13 lines
765 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
namespace System.Net.Http
|
|
{
|
|
public sealed partial class ReadOnlyMemoryContent : System.Net.Http.HttpContent
|
|
{
|
|
public ReadOnlyMemoryContent(System.ReadOnlyMemory<byte> content) => throw new PlatformNotSupportedException();
|
|
protected internal override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) => throw new PlatformNotSupportedException();
|
|
protected internal override bool TryComputeLength(out long length) => throw new PlatformNotSupportedException();
|
|
}
|
|
} |