diff --git a/csharp/src/Google.Protobuf/WritingPrimitives.cs b/csharp/src/Google.Protobuf/WritingPrimitives.cs index 8b81ee5e7afd..2dc1d76118f0 100644 --- a/csharp/src/Google.Protobuf/WritingPrimitives.cs +++ b/csharp/src/Google.Protobuf/WritingPrimitives.cs @@ -399,9 +399,9 @@ public static void WriteLength(ref Span buffer, ref WriterInternalState st WriteRawVarint32(ref buffer, ref state, (uint)length); } -#endregion + #endregion -#region Writing primitives + #region Writing primitives /// /// Writes a 32 bit value as a varint. The fast route is taken when /// there's enough buffer space left to whizz through without checking @@ -584,9 +584,9 @@ public static void WriteRawBytes(ref Span buffer, ref WriterInternalState state.position += remainderLength; } } -#endregion + #endregion -#region Raw tag writing + #region Raw tag writing /// /// Encodes and writes a tag. /// @@ -715,7 +715,7 @@ private static void WriteRawTagSlowPath(ref Span buffer, ref WriterInterna WriteRawByte(ref buffer, ref state, b4); WriteRawByte(ref buffer, ref state, b5); } -#endregion + #endregion /// /// Encode a 32-bit value with ZigZag encoding.