From b40b1f7b91ead7f49ac0eeadcc838150082aff65 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Wed, 27 Jan 2021 12:32:10 +1300 Subject: [PATCH] Remove inlining --- csharp/src/Google.Protobuf/WritingPrimitives.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/src/Google.Protobuf/WritingPrimitives.cs b/csharp/src/Google.Protobuf/WritingPrimitives.cs index 03c764098128..56f3990cd781 100644 --- a/csharp/src/Google.Protobuf/WritingPrimitives.cs +++ b/csharp/src/Google.Protobuf/WritingPrimitives.cs @@ -209,7 +209,7 @@ public static void WriteString(ref Span buffer, ref WriterInternalState st } } - [MethodImpl(MethodImplOptions.AggressiveInlining)] + //[MethodImpl(MethodImplOptions.AggressiveInlining)] private static int WriteStringToBuffer(Span buffer, ref WriterInternalState state, string value) { #if NETSTANDARD1_1