Skip to content

Commit 93bfff8

Browse files
committed
use #if MSGPACK_UNITY_FULL
1 parent 1f0bba9 commit 93bfff8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/MsgPack/Serialization/SerializationContext.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
using System;
2626
#if !UNITY || MSGPACK_UNITY_FULL
27+
using System.ComponentModel;
2728
#endif // !UNITY || MSGPACK_UNITY_FULL
2829
#if FEATURE_CONCURRENT
2930
using System.Collections.Concurrent;
@@ -223,8 +224,8 @@ public DictionarySerializationOptions DictionarySerializationOptions
223224
/// The <see cref="DictionarySerializationOptions"/> which stores dictionary(map) based serialization options. This value will not be <c>null</c>.
224225
/// </value>
225226
[Obsolete("Use DictionarySerializationOption instead.")]
226-
#if !UNITY && !( XAMARIN && ( __ANDROID__ || __IOS__ ) )
227-
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
227+
#if !UNITY || MSGPACK_UNITY_FULL
228+
[EditorBrowsable(EditorBrowsableState.Never)]
228229
#endif
229230
public DictionarySerializationOptions DictionarySerlaizationOptions
230231
{

0 commit comments

Comments
 (0)