Skip to content

Commit f34f0eb

Browse files
author
Lewis Mohr
committed
fix some formatting
1 parent 99b1888 commit f34f0eb

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/MsgPack/Serialization/AbstractSerializers/SerializerBuilder`3.Object.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ private IEnumerable<TConstruct> EmitObjectUnpackFromMapCore( TContext context, T
436436
unpackedKey =>
437437
this.EmitStoreVariableStatement( context, key, unpackedKey )
438438
);
439-
440439
var assigns =
441440
this.EmitStringSwitchStatement(
442441
context,

src/MsgPack/Serialization/ExpressionSerializers/ExpressionTreeSerializerBuilder`1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,11 +486,11 @@ protected override ExpressionConstruct EmitStringSwitchStatement (
486486
) {
487487
return
488488
Expression.Switch(
489-
typeof(void),
489+
typeof( void ),
490490
target,
491491
defaultCase,
492492
Metadata._String.op_Equality,
493-
cases.Select(kv => Expression.SwitchCase(kv.Value, Expression.Constant(kv.Key))).ToArray()
493+
cases.Select( kv => Expression.SwitchCase( kv.Value, Expression.Constant( kv.Key ) ) ).ToArray()
494494
);
495495
}
496496

test/MsgPack.UnitTest/Serialization/VersioningTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ private static void TestExtraFieldCore<T>( SerializationMethod method, EmitterFl
6666
var packer = Packer.Create( stream, false );
6767
packer.PackMapHeader( 5 );
6868
packer.Pack( "Field1" );
69-
packer.Pack( 1 );
70-
packer.Pack( "Extra" );
71-
packer.PackNull();
69+
packer.Pack( 1 );
70+
packer.Pack( "Extra" );
71+
packer.PackNull();
7272
packer.Pack( "Field2" );
7373
packer.Pack( -1 );
7474
packer.Pack( "Field3" );

0 commit comments

Comments
 (0)