Skip to content

Commit 120c604

Browse files
committed
Code cleanup.
1 parent 68b1d08 commit 120c604

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

src/MsgPack/Serialization/PolymorphismSchema.Internals.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
using System;
2424
using System.Collections.Generic;
25-
#if !NETFX_35 && !UNITY
25+
#if !UNITY
2626
using System.Diagnostics.Contracts;
27-
#endif // !NETFX_35 && !UNITY
27+
#endif // !UNITY
2828
using System.Globalization;
2929
using System.Linq;
3030
using System.Reflection;
@@ -202,7 +202,7 @@ internal static PolymorphismSchema Create(
202202
#if !UNITY
203203
SerializingMember? memberMayBeNull
204204
#else
205-
SerializingMember memberMayBeNull
205+
SerializingMember memberMayBeNull
206206
#endif // !UNITY
207207
)
208208
{
@@ -461,14 +461,14 @@ private void Interpret( SerializationContext context, IPolymorphicHelperAttribut
461461
}
462462
}
463463

464-
#if DEBUG && !NETFX_35 && !UNITY
464+
#if DEBUG && !UNITY
465465
Contract.Assert( attribute is IPolymorphicRuntimeTypeAttribute, attribute + " is IPolymorphicRuntimeTypeAttribute" );
466-
#endif // DEBUG && !NETFX_35 && !UNITY
466+
#endif // DEBUG && !UNITY
467467
if ( this._useTypeEmbedding )
468468
{
469-
#if DEBUG && !NETFX_35 && !UNITY
469+
#if DEBUG && !UNITY
470470
Contract.Assert( attribute.Target == PolymorphismTarget.TupleItem, attribute.Target + " == PolymorphismTarget.TupleItem" );
471-
#endif // DEBUG && !NETFX_35 && !UNITY
471+
#endif // DEBUG && !UNITY
472472
throw new SerializationException(
473473
String.Format(
474474
CultureInfo.CurrentCulture,

src/MsgPack/Serialization/SerializationContext.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#if NETFX_CORE
3636
using System.Linq;
3737
using System.Linq.Expressions;
38-
using System.Reflection;
3938
#endif // NETFX_CORE
4039
using System.Threading;
4140

0 commit comments

Comments
 (0)