Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit fac8a01

Browse files
Merge pull request #1916 from venkat-raman251/newBranch
System.Text.Encoding.Extension changes + minor refactoring in System.Reflection.TypeExtensions
2 parents f2aa64b + bdfebc2 commit fac8a01

19 files changed

+6
-8
lines changed

src/System.Reflection.TypeExtensions/src/System.Reflection.TypeExtensions.CoreCLR.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
</ItemGroup>
2626

2727
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
28-
</Project>
28+
</Project>

src/System.Reflection.TypeExtensions/src/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"frameworks": {
66
"dnxcore50": {}
77
}
8-
}
8+
}

src/System.Reflection.TypeExtensions/tests/Assembly/AssemblyExtensionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void GetExportedTypesTest()
2323
public void GetModulesTest()
2424
{
2525
Assembly executingAssembly = this.GetType().GetTypeInfo().Assembly;
26-
Assert.True(executingAssembly.GetModules().Length == 1);
26+
Assert.Equal(1, executingAssembly.GetModules().Length);
2727
}
2828

2929
[Fact]

src/System.Reflection.TypeExtensions/tests/System.Reflection.TypeExtensions.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@
8484
</ProjectReference>
8585
</ItemGroup>
8686
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
87-
</Project>
87+
</Project>

src/System.Reflection.TypeExtensions/tests/project.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"dependencies": {
3-
"System.Collections": "4.0.10-beta-*",
43
"System.Diagnostics.Debug": "4.0.10-beta-*",
54
"System.Linq": "4.0.0-beta-*",
65
"System.Reflection": "4.0.10-beta-*",
@@ -21,4 +20,4 @@
2120
"frameworks": {
2221
"dnxcore50": {}
2322
}
24-
}
23+
}

src/System.Reflection.TypeExtensions/tests/project.lock.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,6 @@
597597
},
598598
"projectFileDependencyGroups": {
599599
"": [
600-
"System.Collections >= 4.0.10-beta-*",
601600
"System.Diagnostics.Debug >= 4.0.10-beta-*",
602601
"System.Linq >= 4.0.0-beta-*",
603602
"System.Reflection >= 4.0.10-beta-*",

src/System.Text.Encoding.Extensions/Encoding.Extensions.Tests.sln renamed to src/System.Text.Encoding.Extensions/System.Text.Encoding.Extensions.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
44
VisualStudioVersion = 14.0.22609.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Encoding.Extensions.Tests", "tests\4.0.10.0\Encoding\Encoding.Extensions.Tests.csproj", "{9574CEEC-5554-411B-B44C-6CA9EC1CEB08}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Text.Encoding.Extensions.Tests", "tests\System.Text.Encoding.Extensions.Tests.csproj", "{9574CEEC-5554-411B-B44C-6CA9EC1CEB08}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

0 commit comments

Comments
 (0)