Commit 9594c7a 1 parent 4fca64a commit 9594c7a Copy full SHA for 9594c7a
File tree 3 files changed +4
-4
lines changed
SystemTextJsonPatch/Internal
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace SystemTextJsonPatch . Internal ;
6
6
7
- public class JSonObjectAdapter : IAdapter
7
+ public sealed class JSonObjectAdapter : IAdapter
8
8
{
9
9
public bool TryAdd (
10
10
object target ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace SystemTextJsonPatch.Internal;
9
9
/// This API supports infrastructure and is not intended to be used
10
10
/// directly from your code. This API may change or be removed in future releases.
11
11
/// </summary>
12
- public class ListAdapter : IAdapter
12
+ public sealed class ListAdapter : IAdapter
13
13
{
14
14
public bool TryAdd (
15
15
object target ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace SystemTextJsonPatch.Internal;
12
12
/// This API supports infrastructure and is not intended to be used
13
13
/// directly from your code. This API may change or be removed in future releases.
14
14
/// </summary>
15
- public class PocoAdapter : IAdapter
15
+ public sealed class PocoAdapter : IAdapter
16
16
{
17
17
public bool TryAdd (
18
18
object target ,
@@ -224,7 +224,7 @@ out IPropertyProxy? jsonProperty
224
224
return new DictionaryPropertyProxy ( dictionary , propertyName ) ;
225
225
}
226
226
227
- if ( target is IDictionary < string , object > typedDictionary )
227
+ if ( target is IDictionary < string , object ? > typedDictionary )
228
228
{
229
229
return new DictionaryTypedPropertyProxy ( typedDictionary , propertyName ) ;
230
230
}
You can’t perform that action at this time.
0 commit comments