Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

We really don't need System.Data or System.Xml references #815

Merged
merged 1 commit into from
Jun 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/GitHub.Api/GitHub.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@
<HintPath>$(SolutionDir).\packages\TaskParallelLibrary.1.0.3333.0\lib\Net35\System.Threading.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Application\ApplicationInfo.cs" />
Expand Down
20 changes: 1 addition & 19 deletions src/GitHub.Api/Primitives/StringEquivalent.cs
Original file line number Diff line number Diff line change
@@ -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<T> : ISerializable, IXmlSerializable where T : StringEquivalent<T>
public abstract class StringEquivalent<T> : ISerializable where T : StringEquivalent<T>
{
protected string Value;

Expand Down Expand Up @@ -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; }
Expand Down
4 changes: 0 additions & 4 deletions src/GitHub.Logging/GitHub.Logging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Extensions\ExceptionExtensions.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@
<HintPath>$(SolutionDir)\packages\TaskParallelLibrary.1.0.3333.0\lib\Net35\System.Threading.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEditor">
<HintPath>$(UnityDir)Managed\UnityEditor.dll</HintPath>
<Private>False</Private>
Expand Down
4 changes: 0 additions & 4 deletions src/UnityExtension/Assets/Editor/UnityTests/UnityTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="UnityEditor">
<HintPath>$(UnityDir)Managed\UnityEditor.dll</HintPath>
</Reference>
Expand Down