Skip to content

Commit 1f0bba9

Browse files
committed
fixed #if directive of DictionarySerializationOptions
1 parent 829661e commit 1f0bba9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/MsgPack/Serialization/SerializationContext.cs

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

2525
using System;
26-
using System.ComponentModel;
2726
#if !UNITY || MSGPACK_UNITY_FULL
2827
#endif // !UNITY || MSGPACK_UNITY_FULL
2928
#if FEATURE_CONCURRENT
@@ -224,8 +223,8 @@ public DictionarySerializationOptions DictionarySerializationOptions
224223
/// The <see cref="DictionarySerializationOptions"/> which stores dictionary(map) based serialization options. This value will not be <c>null</c>.
225224
/// </value>
226225
[Obsolete("Use DictionarySerializationOption instead.")]
227-
#if XAMARIN && ( __ANDROID__ || __IOS__ )
228-
[EditorBrowsable(EditorBrowsableState.Never)]
226+
#if !UNITY && !( XAMARIN && ( __ANDROID__ || __IOS__ ) )
227+
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
229228
#endif
230229
public DictionarySerializationOptions DictionarySerlaizationOptions
231230
{

0 commit comments

Comments
 (0)