Skip to content

Commit

Permalink
move extension methods into root namespace of 3rd party lib
Browse files Browse the repository at this point in the history
  • Loading branch information
6bee committed Dec 20, 2024
1 parent f55a8e1 commit f2ef006
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.

namespace Aqua.Newtonsoft.Json;
#pragma warning disable IDE0130 // Namespace does not match folder structure
namespace Newtonsoft.Json;
#pragma warning restore IDE0130 // Namespace does not match folder structure

using Aqua.Newtonsoft.Json;
using Aqua.Newtonsoft.Json.ContractResolvers;
using global::Newtonsoft.Json;
using global::Newtonsoft.Json.Serialization;
using System.ComponentModel;

Expand Down
6 changes: 4 additions & 2 deletions src/Aqua.Text.Json/JsonSerializerOptionsExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.

namespace Aqua.Text.Json;
#pragma warning disable IDE0130 // Namespace does not match folder structure
namespace System.Text.Json;
#pragma warning restore IDE0130 // Namespace does not match folder structure

using Aqua.Dynamic;
using Aqua.EnumerableExtensions;
using Aqua.Text.Json;
using Aqua.Text.Json.Converters;
using Aqua.TypeSystem;
using System;
Expand All @@ -12,7 +15,6 @@ namespace Aqua.Text.Json;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.Serialization;
using System.Text.Json;
using System.Text.Json.Serialization;

[EditorBrowsable(EditorBrowsableState.Never)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Aqua.Tests.Serialization.Dynamic.DynamicObject;

using Aqua.Dynamic;
using Aqua.Text.Json;
using Shouldly;
using System;
using System.Text.Json;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aqua.Tests.Serialization;

using Aqua.Newtonsoft.Json;
using global::Newtonsoft.Json;

public static class NewtonsoftJsonSerializationHelper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Aqua.Tests.Serialization;

using Aqua.Text.Json;
using Aqua.Text.Json.Converters;
using System;
using System.Numerics;
Expand Down

0 comments on commit f2ef006

Please sign in to comment.