Skip to content

Commit 829af01

Browse files
authored
Merge pull request MessagePack-CSharp#2095 from MessagePack-CSharp/ship
Current all apis to shipped.txt
2 parents cb01371 + af09fa2 commit 829af01

12 files changed

+725
-696
lines changed

src/MessagePack/Formatters/StandardClassLibraryFormatter.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ public sealed class Int128Formatter : IMessagePackFormatter<Int128>
885885
{
886886
public static readonly IMessagePackFormatter<Int128> Instance = new Int128Formatter();
887887

888-
const int Size = 16; // always bytes-written is 16
888+
private const int Size = 16; // always bytes-written is 16
889889

890890
private Int128Formatter()
891891
{
@@ -925,14 +925,15 @@ public Int128 Deserialize(ref MessagePackReader reader, MessagePackSerializerOpt
925925
}
926926

927927
[MethodImpl(MethodImplOptions.AggressiveInlining)]
928-
static bool TryReadLittleEndian<T>(ReadOnlySpan<byte> source, out T value) where T : IBinaryInteger<T> => T.TryReadLittleEndian(source, isUnsigned: false, out value);
928+
private static bool TryReadLittleEndian<T>(ReadOnlySpan<byte> source, out T value)
929+
where T : IBinaryInteger<T> => T.TryReadLittleEndian(source, isUnsigned: false, out value);
929930
}
930931

931932
public sealed class UInt128Formatter : IMessagePackFormatter<UInt128>
932933
{
933934
public static readonly IMessagePackFormatter<UInt128> Instance = new UInt128Formatter();
934935

935-
const int Size = 16; // always bytes-written is 16
936+
private const int Size = 16; // always bytes-written is 16
936937

937938
private UInt128Formatter()
938939
{
@@ -969,7 +970,8 @@ public UInt128 Deserialize(ref MessagePackReader reader, MessagePackSerializerOp
969970
}
970971

971972
[MethodImpl(MethodImplOptions.AggressiveInlining)]
972-
static bool TryReadLittleEndian<T>(ReadOnlySpan<byte> source, out T value) where T : IBinaryInteger<T> => T.TryReadLittleEndian(source, isUnsigned: true, out value);
973+
private static bool TryReadLittleEndian<T>(ReadOnlySpan<byte> source, out T value)
974+
where T : IBinaryInteger<T> => T.TryReadLittleEndian(source, isUnsigned: true, out value);
973975
}
974976
#endif
975977

src/MessagePack/Resolvers/DynamicGenericResolver.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ internal static class DynamicGenericResolverGetFormatterHelper
7171
{ typeof(IReadOnlyList<>), typeof(InterfaceReadOnlyListFormatter<>) },
7272
{ typeof(IReadOnlyCollection<>), typeof(InterfaceReadOnlyCollectionFormatter<>) },
7373
{ typeof(ISet<>), typeof(InterfaceSetFormatter<>) },
74-
7574
{ typeof(System.Collections.Concurrent.ConcurrentBag<>), typeof(ConcurrentBagFormatter<>) },
7675
{ typeof(System.Collections.Concurrent.ConcurrentQueue<>), typeof(ConcurrentQueueFormatter<>) },
7776
{ typeof(System.Collections.Concurrent.ConcurrentStack<>), typeof(ConcurrentStackFormatter<>) },

src/MessagePack/net472/PublicAPI.Shipped.txt

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,3 +1184,116 @@ MessagePack.MessagePackSerializerOptions.WithCompressionMinLength(int compressio
11841184
MessagePack.MessagePackSerializerOptions.WithSuggestedContiguousMemorySize(int suggestedContiguousMemorySize) -> MessagePack.MessagePackSerializerOptions!
11851185
static MessagePack.MessagePackWriter.GetEncodedLength(long value) -> int
11861186
static MessagePack.MessagePackWriter.GetEncodedLength(ulong value) -> int
1187+
const MessagePack.ReservedExtensionTypeCodes.Lz4Block = 99 -> sbyte
1188+
const MessagePack.ReservedExtensionTypeCodes.Lz4BlockArray = 98 -> sbyte
1189+
const MessagePack.ReservedExtensionTypeCodes.TypelessFormatter = 100 -> sbyte
1190+
const MessagePack.ReservedExtensionTypeCodes.UnityBounds = 35 -> sbyte
1191+
const MessagePack.ReservedExtensionTypeCodes.UnityColor = 34 -> sbyte
1192+
const MessagePack.ReservedExtensionTypeCodes.UnityDouble = 39 -> sbyte
1193+
const MessagePack.ReservedExtensionTypeCodes.UnityFloat = 38 -> sbyte
1194+
const MessagePack.ReservedExtensionTypeCodes.UnityInt = 37 -> sbyte
1195+
const MessagePack.ReservedExtensionTypeCodes.UnityQuaternion = 33 -> sbyte
1196+
const MessagePack.ReservedExtensionTypeCodes.UnityRect = 36 -> sbyte
1197+
const MessagePack.ReservedExtensionTypeCodes.UnityVector2 = 30 -> sbyte
1198+
const MessagePack.ReservedExtensionTypeCodes.UnityVector3 = 31 -> sbyte
1199+
const MessagePack.ReservedExtensionTypeCodes.UnityVector4 = 32 -> sbyte
1200+
MessagePack.CompositeResolverAttribute
1201+
MessagePack.CompositeResolverAttribute.CompositeResolverAttribute(params System.Type![]! formattersAndResolvers) -> void
1202+
MessagePack.CompositeResolverAttribute.IncludeLocalFormatters.get -> bool
1203+
MessagePack.CompositeResolverAttribute.IncludeLocalFormatters.set -> void
1204+
MessagePack.Formatters.EnumAsStringFormatter<T>.EnumAsStringFormatter(bool ignoreCase) -> void
1205+
MessagePack.Formatters.Matrix3x2Formatter
1206+
MessagePack.Formatters.Matrix3x2Formatter.Deserialize(ref MessagePack.MessagePackReader reader, MessagePack.MessagePackSerializerOptions! options) -> System.Numerics.Matrix3x2
1207+
MessagePack.Formatters.Matrix3x2Formatter.Serialize(ref MessagePack.MessagePackWriter writer, System.Numerics.Matrix3x2 value, MessagePack.MessagePackSerializerOptions! options) -> void
1208+
MessagePack.Formatters.Matrix4x4Formatter
1209+
MessagePack.Formatters.Matrix4x4Formatter.Deserialize(ref MessagePack.MessagePackReader reader, MessagePack.MessagePackSerializerOptions! options) -> System.Numerics.Matrix4x4
1210+
MessagePack.Formatters.Matrix4x4Formatter.Serialize(ref MessagePack.MessagePackWriter writer, System.Numerics.Matrix4x4 value, MessagePack.MessagePackSerializerOptions! options) -> void
1211+
MessagePack.Formatters.QuaternionFormatter
1212+
MessagePack.Formatters.QuaternionFormatter.Deserialize(ref MessagePack.MessagePackReader reader, MessagePack.MessagePackSerializerOptions! options) -> System.Numerics.Quaternion
1213+
MessagePack.Formatters.QuaternionFormatter.Serialize(ref MessagePack.MessagePackWriter writer, System.Numerics.Quaternion value, MessagePack.MessagePackSerializerOptions! options) -> void
1214+
MessagePack.Formatters.Vector2Formatter
1215+
MessagePack.Formatters.Vector2Formatter.Deserialize(ref MessagePack.MessagePackReader reader, MessagePack.MessagePackSerializerOptions! options) -> System.Numerics.Vector2
1216+
MessagePack.Formatters.Vector2Formatter.Serialize(ref MessagePack.MessagePackWriter writer, System.Numerics.Vector2 value, MessagePack.MessagePackSerializerOptions! options) -> void
1217+
MessagePack.Formatters.Vector3Formatter
1218+
MessagePack.Formatters.Vector3Formatter.Deserialize(ref MessagePack.MessagePackReader reader, MessagePack.MessagePackSerializerOptions! options) -> System.Numerics.Vector3
1219+
MessagePack.Formatters.Vector3Formatter.Serialize(ref MessagePack.MessagePackWriter writer, System.Numerics.Vector3 value, MessagePack.MessagePackSerializerOptions! options) -> void
1220+
MessagePack.Formatters.Vector4Formatter
1221+
MessagePack.Formatters.Vector4Formatter.Deserialize(ref MessagePack.MessagePackReader reader, MessagePack.MessagePackSerializerOptions! options) -> System.Numerics.Vector4
1222+
MessagePack.Formatters.Vector4Formatter.Serialize(ref MessagePack.MessagePackWriter writer, System.Numerics.Vector4 value, MessagePack.MessagePackSerializerOptions! options) -> void
1223+
MessagePack.GeneratedMessagePackResolverAttribute
1224+
MessagePack.GeneratedMessagePackResolverAttribute.GeneratedMessagePackResolverAttribute() -> void
1225+
MessagePack.GeneratedMessagePackResolverAttribute.UseMapMode.get -> bool
1226+
MessagePack.GeneratedMessagePackResolverAttribute.UseMapMode.set -> void
1227+
MessagePack.Internal.GeneratedAssemblyMessagePackResolverAttribute
1228+
MessagePack.Internal.GeneratedAssemblyMessagePackResolverAttribute.GeneratedAssemblyMessagePackResolverAttribute(System.Type! resolverType, int majorVersion, int minorVersion) -> void
1229+
MessagePack.Internal.GeneratedAssemblyMessagePackResolverAttribute.MajorVersion.get -> int
1230+
MessagePack.Internal.GeneratedAssemblyMessagePackResolverAttribute.MinorVersion.get -> int
1231+
MessagePack.Internal.GeneratedAssemblyMessagePackResolverAttribute.ResolverType.get -> System.Type!
1232+
MessagePack.MessagePackPrimitives
1233+
MessagePack.MessagePackPrimitives.DecodeResult
1234+
MessagePack.MessagePackPrimitives.DecodeResult.EmptyBuffer = 2 -> MessagePack.MessagePackPrimitives.DecodeResult
1235+
MessagePack.MessagePackPrimitives.DecodeResult.InsufficientBuffer = 3 -> MessagePack.MessagePackPrimitives.DecodeResult
1236+
MessagePack.MessagePackPrimitives.DecodeResult.Success = 0 -> MessagePack.MessagePackPrimitives.DecodeResult
1237+
MessagePack.MessagePackPrimitives.DecodeResult.TokenMismatch = 1 -> MessagePack.MessagePackPrimitives.DecodeResult
1238+
MessagePack.ReservedExtensionTypeCodes
1239+
MessagePack.Resolvers.DynamicEnumAsStringIgnoreCaseResolver
1240+
MessagePack.Resolvers.DynamicEnumAsStringIgnoreCaseResolver.GetFormatter<T>() -> MessagePack.Formatters.IMessagePackFormatter<T>?
1241+
MessagePack.Resolvers.SourceGeneratedFormatterResolver
1242+
MessagePack.Resolvers.SourceGeneratedFormatterResolver.GetFormatter<T>() -> MessagePack.Formatters.IMessagePackFormatter<T>?
1243+
MessagePack.SequencePool.Clear() -> void
1244+
static MessagePack.MessagePackPrimitives.TryReadArrayHeader(System.ReadOnlySpan<byte> source, out uint count, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1245+
static MessagePack.MessagePackPrimitives.TryReadBinHeader(System.ReadOnlySpan<byte> source, out uint length, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1246+
static MessagePack.MessagePackPrimitives.TryReadBool(System.ReadOnlySpan<byte> source, out bool value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1247+
static MessagePack.MessagePackPrimitives.TryReadByte(System.ReadOnlySpan<byte> source, out byte value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1248+
static MessagePack.MessagePackPrimitives.TryReadChar(System.ReadOnlySpan<byte> source, out char value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1249+
static MessagePack.MessagePackPrimitives.TryReadDateTime(System.ReadOnlySpan<byte> source, MessagePack.ExtensionHeader header, out System.DateTime value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1250+
static MessagePack.MessagePackPrimitives.TryReadDateTime(System.ReadOnlySpan<byte> source, out System.DateTime value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1251+
static MessagePack.MessagePackPrimitives.TryReadDouble(System.ReadOnlySpan<byte> source, out double value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1252+
static MessagePack.MessagePackPrimitives.TryReadExtensionHeader(System.ReadOnlySpan<byte> source, out MessagePack.ExtensionHeader extensionHeader, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1253+
static MessagePack.MessagePackPrimitives.TryReadInt16(System.ReadOnlySpan<byte> source, out short value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1254+
static MessagePack.MessagePackPrimitives.TryReadInt32(System.ReadOnlySpan<byte> source, out int value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1255+
static MessagePack.MessagePackPrimitives.TryReadInt64(System.ReadOnlySpan<byte> source, out long value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1256+
static MessagePack.MessagePackPrimitives.TryReadMapHeader(System.ReadOnlySpan<byte> source, out uint count, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1257+
static MessagePack.MessagePackPrimitives.TryReadNil(System.ReadOnlySpan<byte> source, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1258+
static MessagePack.MessagePackPrimitives.TryReadSByte(System.ReadOnlySpan<byte> source, out sbyte value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1259+
static MessagePack.MessagePackPrimitives.TryReadSingle(System.ReadOnlySpan<byte> source, out float value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1260+
static MessagePack.MessagePackPrimitives.TryReadStringHeader(System.ReadOnlySpan<byte> source, out uint length, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1261+
static MessagePack.MessagePackPrimitives.TryReadUInt16(System.ReadOnlySpan<byte> source, out ushort value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1262+
static MessagePack.MessagePackPrimitives.TryReadUInt32(System.ReadOnlySpan<byte> source, out uint value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1263+
static MessagePack.MessagePackPrimitives.TryReadUInt64(System.ReadOnlySpan<byte> source, out ulong value, out int tokenSize) -> MessagePack.MessagePackPrimitives.DecodeResult
1264+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, bool value, out int bytesWritten) -> bool
1265+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, byte value, out int bytesWritten) -> bool
1266+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, char value, out int bytesWritten) -> bool
1267+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, double value, out int bytesWritten) -> bool
1268+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, float value, out int bytesWritten) -> bool
1269+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, int value, out int bytesWritten) -> bool
1270+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, long value, out int bytesWritten) -> bool
1271+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, sbyte value, out int bytesWritten) -> bool
1272+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, short value, out int bytesWritten) -> bool
1273+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, System.DateTime value, out int bytesWritten) -> bool
1274+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, uint value, out int bytesWritten) -> bool
1275+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, ulong value, out int bytesWritten) -> bool
1276+
static MessagePack.MessagePackPrimitives.TryWrite(System.Span<byte> destination, ushort value, out int bytesWritten) -> bool
1277+
static MessagePack.MessagePackPrimitives.TryWriteArrayHeader(System.Span<byte> destination, uint count, out int bytesWritten) -> bool
1278+
static MessagePack.MessagePackPrimitives.TryWriteBinHeader(System.Span<byte> destination, uint length, out int bytesWritten) -> bool
1279+
static MessagePack.MessagePackPrimitives.TryWriteExtensionFormatHeader(System.Span<byte> destination, MessagePack.ExtensionHeader extensionHeader, out int bytesWritten) -> bool
1280+
static MessagePack.MessagePackPrimitives.TryWriteInt16(System.Span<byte> destination, short value, out int bytesWritten) -> bool
1281+
static MessagePack.MessagePackPrimitives.TryWriteInt32(System.Span<byte> destination, int value, out int bytesWritten) -> bool
1282+
static MessagePack.MessagePackPrimitives.TryWriteInt64(System.Span<byte> destination, long value, out int bytesWritten) -> bool
1283+
static MessagePack.MessagePackPrimitives.TryWriteInt8(System.Span<byte> destination, sbyte value, out int bytesWritten) -> bool
1284+
static MessagePack.MessagePackPrimitives.TryWriteMapHeader(System.Span<byte> destination, uint count, out int bytesWritten) -> bool
1285+
static MessagePack.MessagePackPrimitives.TryWriteNil(System.Span<byte> destination, out int bytesWritten) -> bool
1286+
static MessagePack.MessagePackPrimitives.TryWriteStringHeader(System.Span<byte> destination, uint byteCount, out int bytesWritten) -> bool
1287+
static MessagePack.MessagePackPrimitives.TryWriteUInt16(System.Span<byte> destination, ushort value, out int bytesWritten) -> bool
1288+
static MessagePack.MessagePackPrimitives.TryWriteUInt32(System.Span<byte> destination, uint value, out int bytesWritten) -> bool
1289+
static MessagePack.MessagePackPrimitives.TryWriteUInt64(System.Span<byte> destination, ulong value, out int bytesWritten) -> bool
1290+
static MessagePack.MessagePackPrimitives.TryWriteUInt8(System.Span<byte> destination, byte value, out int bytesWritten) -> bool
1291+
static readonly MessagePack.Formatters.Matrix3x2Formatter.Instance -> MessagePack.Formatters.IMessagePackFormatter<System.Numerics.Matrix3x2>!
1292+
static readonly MessagePack.Formatters.Matrix4x4Formatter.Instance -> MessagePack.Formatters.IMessagePackFormatter<System.Numerics.Matrix4x4>!
1293+
static readonly MessagePack.Formatters.QuaternionFormatter.Instance -> MessagePack.Formatters.IMessagePackFormatter<System.Numerics.Quaternion>!
1294+
static readonly MessagePack.Formatters.Vector2Formatter.Instance -> MessagePack.Formatters.IMessagePackFormatter<System.Numerics.Vector2>!
1295+
static readonly MessagePack.Formatters.Vector3Formatter.Instance -> MessagePack.Formatters.IMessagePackFormatter<System.Numerics.Vector3>!
1296+
static readonly MessagePack.Formatters.Vector4Formatter.Instance -> MessagePack.Formatters.IMessagePackFormatter<System.Numerics.Vector4>!
1297+
static readonly MessagePack.Resolvers.DynamicEnumAsStringIgnoreCaseResolver.Instance -> MessagePack.Resolvers.DynamicEnumAsStringIgnoreCaseResolver!
1298+
static readonly MessagePack.Resolvers.SourceGeneratedFormatterResolver.Instance -> MessagePack.Resolvers.SourceGeneratedFormatterResolver!
1299+
static MessagePack.MessagePackSerializer.Typeless.Deserialize(System.ReadOnlyMemory<byte> bytes, MessagePack.MessagePackSerializerOptions? options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> object?

0 commit comments

Comments
 (0)