From 17621b9d0764b9f216279471830b4d1666d6dd62 Mon Sep 17 00:00:00 2001 From: Andreia Gaita Date: Fri, 1 Jun 2018 16:30:29 +0200 Subject: [PATCH] We really don't need System.Data or System.Xml references --- src/GitHub.Api/GitHub.Api.csproj | 4 ---- src/GitHub.Api/Primitives/StringEquivalent.cs | 20 +------------------ src/GitHub.Logging/GitHub.Logging.csproj | 4 ---- .../Editor/GitHub.Unity/GitHub.Unity.csproj | 4 ---- .../Editor/UnityTests/UnityTests.csproj | 4 ---- 5 files changed, 1 insertion(+), 35 deletions(-) diff --git a/src/GitHub.Api/GitHub.Api.csproj b/src/GitHub.Api/GitHub.Api.csproj index 30462a466..afaf9e19a 100644 --- a/src/GitHub.Api/GitHub.Api.csproj +++ b/src/GitHub.Api/GitHub.Api.csproj @@ -80,10 +80,6 @@ $(SolutionDir).\packages\TaskParallelLibrary.1.0.3333.0\lib\Net35\System.Threading.dll True - - - - diff --git a/src/GitHub.Api/Primitives/StringEquivalent.cs b/src/GitHub.Api/Primitives/StringEquivalent.cs index 5dd82b3c7..5e360e2c5 100644 --- a/src/GitHub.Api/Primitives/StringEquivalent.cs +++ b/src/GitHub.Api/Primitives/StringEquivalent.cs @@ -1,14 +1,11 @@ using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; -using System.Xml; -using System.Xml.Schema; -using System.Xml.Serialization; namespace GitHub.Unity { [Serializable] - public abstract class StringEquivalent : ISerializable, IXmlSerializable where T : StringEquivalent + public abstract class StringEquivalent : ISerializable where T : StringEquivalent { protected string Value; @@ -86,21 +83,6 @@ public virtual void GetObjectData(SerializationInfo info, StreamingContext conte info.AddValue("Value", Value); } - public XmlSchema GetSchema() - { - return null; - } - - public void ReadXml(XmlReader reader) - { - Value = reader.ReadString(); - } - - public void WriteXml(XmlWriter writer) - { - writer.WriteString(Value); - } - public int Length { get { return Value != null ? Value.Length : 0; } diff --git a/src/GitHub.Logging/GitHub.Logging.csproj b/src/GitHub.Logging/GitHub.Logging.csproj index dbe4582e5..ef69bfeac 100644 --- a/src/GitHub.Logging/GitHub.Logging.csproj +++ b/src/GitHub.Logging/GitHub.Logging.csproj @@ -53,10 +53,6 @@ - - - - diff --git a/src/UnityExtension/Assets/Editor/GitHub.Unity/GitHub.Unity.csproj b/src/UnityExtension/Assets/Editor/GitHub.Unity/GitHub.Unity.csproj index 1fa8438aa..33b95c8ba 100644 --- a/src/UnityExtension/Assets/Editor/GitHub.Unity/GitHub.Unity.csproj +++ b/src/UnityExtension/Assets/Editor/GitHub.Unity/GitHub.Unity.csproj @@ -58,10 +58,6 @@ $(SolutionDir)\packages\TaskParallelLibrary.1.0.3333.0\lib\Net35\System.Threading.dll True - - - - $(UnityDir)Managed\UnityEditor.dll False diff --git a/src/UnityExtension/Assets/Editor/UnityTests/UnityTests.csproj b/src/UnityExtension/Assets/Editor/UnityTests/UnityTests.csproj index 7476be989..63cceb65d 100644 --- a/src/UnityExtension/Assets/Editor/UnityTests/UnityTests.csproj +++ b/src/UnityExtension/Assets/Editor/UnityTests/UnityTests.csproj @@ -40,10 +40,6 @@ - - - - $(UnityDir)Managed\UnityEditor.dll