Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
aldobrynin committed Apr 24, 2023
1 parent 78fa4c2 commit 1abecf7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions GroBuf/Readers/PrimitivesReaderBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ private KeyValuePair<Delegate, IntPtr>[] BuildPrimitiveValueReaders(ModuleBuilde
for (var i = 0; i < 256; ++i)
result[i] = defaultReader;
foreach (var typeCode in new[]
{
GroBufTypeCode.Int8, GroBufTypeCode.UInt8,
GroBufTypeCode.Int16, GroBufTypeCode.UInt16,
GroBufTypeCode.Int32, GroBufTypeCode.UInt32,
GroBufTypeCode.Int64, GroBufTypeCode.UInt64,
GroBufTypeCode.Single, GroBufTypeCode.Double,
GroBufTypeCode.Boolean, GroBufTypeCode.DateTimeNew,
GroBufTypeCode.Decimal
})
{
GroBufTypeCode.Int8, GroBufTypeCode.UInt8,
GroBufTypeCode.Int16, GroBufTypeCode.UInt16,
GroBufTypeCode.Int32, GroBufTypeCode.UInt32,
GroBufTypeCode.Int64, GroBufTypeCode.UInt64,
GroBufTypeCode.Single, GroBufTypeCode.Double,
GroBufTypeCode.Boolean, GroBufTypeCode.DateTimeNew,
GroBufTypeCode.Decimal
})
result[(int)typeCode] = BuildPrimitiveValueReader(module, typeCode);
return result;
}
Expand Down

0 comments on commit 1abecf7

Please sign in to comment.