1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 07:22: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
parent ec156fe9ca
commit 4eaf6b4b94
4 changed files with 4 additions and 5 deletions

View File

@ -80,7 +80,7 @@ namespace osu.Game.Online.API.Requests
} }
[JsonProperty(@"statistics")] [JsonProperty(@"statistics")]
private Dictionary<string, dynamic> jsonStats private Dictionary<string, object> jsonStats
{ {
set set
{ {

View File

@ -38,6 +38,6 @@ namespace osu.Game.Rulesets.Scoring
public DateTimeOffset Date; public DateTimeOffset Date;
public Dictionary<string, dynamic> Statistics = new Dictionary<string, dynamic>(); public Dictionary<string, object> Statistics = new Dictionary<string, object>();
} }
} }

View File

@ -186,9 +186,9 @@ namespace osu.Game.Screens.Ranking
private class DrawableScoreStatistic : Container 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; this.statistic = statistic;

View File

@ -124,7 +124,6 @@
<HintPath>$(SolutionDir)\packages\DotNetZip.1.10.1\lib\net20\DotNetZip.dll</HintPath> <HintPath>$(SolutionDir)\packages\DotNetZip.1.10.1\lib\net20\DotNetZip.dll</HintPath>
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL"> <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> <HintPath>$(SolutionDir)\packages\Mono.Cecil.0.9.6.4\lib\net45\Mono.Cecil.dll</HintPath>
<Private>True</Private> <Private>True</Private>