1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 03:19:55 +08:00

Remove single usage of dynamic and stop referencing Microsoft.CSharp.dll

This commit is contained in:
Dean Herbert
2017-09-28 00:08:42 +08:00
Unverified
parent ec156fe9ca
commit 4eaf6b4b94
4 changed files with 4 additions and 5 deletions
@@ -80,7 +80,7 @@ namespace osu.Game.Online.API.Requests
}
[JsonProperty(@"statistics")]
private Dictionary<string, dynamic> jsonStats
private Dictionary<string, object> jsonStats
{
set
{
+1 -1
View File
@@ -38,6 +38,6 @@ namespace osu.Game.Rulesets.Scoring
public DateTimeOffset Date;
public Dictionary<string, dynamic> Statistics = new Dictionary<string, dynamic>();
public Dictionary<string, object> Statistics = new Dictionary<string, object>();
}
}
+2 -2
View File
@@ -186,9 +186,9 @@ namespace osu.Game.Screens.Ranking
private class DrawableScoreStatistic : Container
{
private readonly KeyValuePair<string, dynamic> statistic;
private readonly KeyValuePair<string, object> statistic;
public DrawableScoreStatistic(KeyValuePair<string, dynamic> statistic)
public DrawableScoreStatistic(KeyValuePair<string, object> statistic)
{
this.statistic = statistic;
-1
View File
@@ -124,7 +124,6 @@
<HintPath>$(SolutionDir)\packages\DotNetZip.1.10.1\lib\net20\DotNetZip.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
<HintPath>$(SolutionDir)\packages\Mono.Cecil.0.9.6.4\lib\net45\Mono.Cecil.dll</HintPath>
<Private>True</Private>