From 89d4ea59360c0abdff49633b0876909463ae5014 Mon Sep 17 00:00:00 2001 From: jjllee Date: Mon, 6 May 2024 12:24:35 -0700 Subject: [PATCH] wip 1 --- .../Core/ThirdParty/LitJson/AssemblyInfo.cs.in | 18 ------------------ .../Core/ThirdParty/LitJson/IJsonWrapper.cs | 2 +- sdk/src/Core/ThirdParty/LitJson/JsonData.cs | 4 ++-- .../Core/ThirdParty/LitJson/JsonException.cs | 2 +- sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs | 4 ++-- .../Core/ThirdParty/LitJson/JsonMockWrapper.cs | 2 +- sdk/src/Core/ThirdParty/LitJson/JsonReader.cs | 2 +- sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs | 2 +- sdk/src/Core/ThirdParty/LitJson/Lexer.cs | 2 +- sdk/src/Core/ThirdParty/LitJson/ParserToken.cs | 2 +- 10 files changed, 11 insertions(+), 29 deletions(-) delete mode 100644 sdk/src/Core/ThirdParty/LitJson/AssemblyInfo.cs.in diff --git a/sdk/src/Core/ThirdParty/LitJson/AssemblyInfo.cs.in b/sdk/src/Core/ThirdParty/LitJson/AssemblyInfo.cs.in deleted file mode 100644 index 2cd1f90a..00000000 --- a/sdk/src/Core/ThirdParty/LitJson/AssemblyInfo.cs.in +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; - - -[assembly: CLSCompliant (true)] - -[assembly: AssemblyTitle ("LitJson")] -[assembly: AssemblyDescription ("LitJSON library")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("")] -[assembly: AssemblyProduct ("LitJSON")] -[assembly: AssemblyCopyright ( - "The authors disclaim copyright to this source code")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -[assembly: AssemblyVersion ("@ASSEMBLY_VERSION@")] diff --git a/sdk/src/Core/ThirdParty/LitJson/IJsonWrapper.cs b/sdk/src/Core/ThirdParty/LitJson/IJsonWrapper.cs index 9b7e2d16..bebda269 100644 --- a/sdk/src/Core/ThirdParty/LitJson/IJsonWrapper.cs +++ b/sdk/src/Core/ThirdParty/LitJson/IJsonWrapper.cs @@ -15,7 +15,7 @@ using System.Collections.Specialized; -namespace LitJson +namespace ThirdParty.LitJson { public enum JsonType { diff --git a/sdk/src/Core/ThirdParty/LitJson/JsonData.cs b/sdk/src/Core/ThirdParty/LitJson/JsonData.cs index e89e4b14..d7745047 100644 --- a/sdk/src/Core/ThirdParty/LitJson/JsonData.cs +++ b/sdk/src/Core/ThirdParty/LitJson/JsonData.cs @@ -17,7 +17,7 @@ using System.IO; -namespace LitJson +namespace ThirdParty.LitJson { public class JsonData : IJsonWrapper, IEquatable { @@ -73,7 +73,7 @@ public bool IsString { public ICollection Keys { get { EnsureDictionary (); return inst_object.Keys; } } - + /// /// Determines whether the json contains an element that has the specified key. /// diff --git a/sdk/src/Core/ThirdParty/LitJson/JsonException.cs b/sdk/src/Core/ThirdParty/LitJson/JsonException.cs index 4efd8905..bf82fdc0 100644 --- a/sdk/src/Core/ThirdParty/LitJson/JsonException.cs +++ b/sdk/src/Core/ThirdParty/LitJson/JsonException.cs @@ -12,7 +12,7 @@ using System; -namespace LitJson +namespace ThirdParty.LitJson { public class JsonException : #if NETSTANDARD1_5 diff --git a/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs b/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs index fc10b28f..ca53583a 100644 --- a/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs +++ b/sdk/src/Core/ThirdParty/LitJson/JsonMapper.cs @@ -15,9 +15,9 @@ using System.Globalization; using System.IO; using System.Reflection; +using Amazon.XRay.Recorder.Core.Internal.Utils; - -namespace LitJson +namespace ThirdParty.LitJson { internal struct PropertyMetadata { diff --git a/sdk/src/Core/ThirdParty/LitJson/JsonMockWrapper.cs b/sdk/src/Core/ThirdParty/LitJson/JsonMockWrapper.cs index dfe7adb7..18cdd36b 100644 --- a/sdk/src/Core/ThirdParty/LitJson/JsonMockWrapper.cs +++ b/sdk/src/Core/ThirdParty/LitJson/JsonMockWrapper.cs @@ -15,7 +15,7 @@ using System.Collections.Specialized; -namespace LitJson +namespace ThirdParty.LitJson { public class JsonMockWrapper : IJsonWrapper { diff --git a/sdk/src/Core/ThirdParty/LitJson/JsonReader.cs b/sdk/src/Core/ThirdParty/LitJson/JsonReader.cs index e47eabc5..3ca6d749 100644 --- a/sdk/src/Core/ThirdParty/LitJson/JsonReader.cs +++ b/sdk/src/Core/ThirdParty/LitJson/JsonReader.cs @@ -16,7 +16,7 @@ using System.Text; -namespace LitJson +namespace ThirdParty.LitJson { public enum JsonToken { diff --git a/sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs b/sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs index 4bfaaac8..ca391d4f 100644 --- a/sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs +++ b/sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs @@ -16,7 +16,7 @@ using System.Text; -namespace LitJson +namespace ThirdParty.LitJson { internal enum Condition { diff --git a/sdk/src/Core/ThirdParty/LitJson/Lexer.cs b/sdk/src/Core/ThirdParty/LitJson/Lexer.cs index cb62d550..5268b847 100644 --- a/sdk/src/Core/ThirdParty/LitJson/Lexer.cs +++ b/sdk/src/Core/ThirdParty/LitJson/Lexer.cs @@ -15,7 +15,7 @@ using System.Text; -namespace LitJson +namespace ThirdParty.LitJson { internal class FsmContext { diff --git a/sdk/src/Core/ThirdParty/LitJson/ParserToken.cs b/sdk/src/Core/ThirdParty/LitJson/ParserToken.cs index e23d477b..5a94926b 100644 --- a/sdk/src/Core/ThirdParty/LitJson/ParserToken.cs +++ b/sdk/src/Core/ThirdParty/LitJson/ParserToken.cs @@ -9,7 +9,7 @@ #endregion -namespace LitJson +namespace ThirdParty.LitJson { internal enum ParserToken {