Skip to content

Commit 01c23c3

Browse files
authored
Extract System.Text namespace (#96)
***PUBLISH_RELEASE***
1 parent 7870470 commit 01c23c3

File tree

10 files changed

+8
-1461
lines changed

10 files changed

+8
-1461
lines changed

source/nanoFramework.CoreLibrary/CoreLibrary.nfproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,6 @@
164164
<Compile Include="System\String.cs" />
165165
<Compile Include="System\SystemException.cs" />
166166
<Compile Include="System\TargetFrameworkAttribute.cs" />
167-
<Compile Include="System\Text\Decoder.cs" />
168-
<Compile Include="System\Text\Encoding.cs" />
169-
<Compile Include="System\Text\StringBuilder.cs" />
170-
<Compile Include="System\Text\UTF8Decoder.cs" />
171-
<Compile Include="System\Text\UTF8Encoding.cs" />
172167
<Compile Include="System\ThreadAttributes.cs" />
173168
<Compile Include="System\Threading\AutoResetEvent.cs" />
174169
<Compile Include="System\Threading\Interlocked.cs" />

source/nanoFramework.CoreLibrary/Friends.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Math, PublicKey=00240000048000009400000006020000002400005253413100040000010001001120aa3e809b3da4f65e1b1f65c0a3a1bf6335c39860ca41acb3c48de278c6b63c5df38239ec1f2e32d58cb897c8c174a5f8e78a9c0b6087d3aef373d7d0f3d9be67700fc2a5a38de1fb71b5b6f6046d841ff35abee2e0b0840a6291a312be184eb311baff5fef0ff6895b9a5f2253aed32fb06b819134f6bb9d531488a87ea2")]
99
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("nanoFramework.ResourceManager, PublicKey=00240000048000009400000006020000002400005253413100040000010001001120aa3e809b3da4f65e1b1f65c0a3a1bf6335c39860ca41acb3c48de278c6b63c5df38239ec1f2e32d58cb897c8c174a5f8e78a9c0b6087d3aef373d7d0f3d9be67700fc2a5a38de1fb71b5b6f6046d841ff35abee2e0b0840a6291a312be184eb311baff5fef0ff6895b9a5f2253aed32fb06b819134f6bb9d531488a87ea2")]
1010
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("nanoFramework.System.Collections, PublicKey=00240000048000009400000006020000002400005253413100040000010001001120aa3e809b3da4f65e1b1f65c0a3a1bf6335c39860ca41acb3c48de278c6b63c5df38239ec1f2e32d58cb897c8c174a5f8e78a9c0b6087d3aef373d7d0f3d9be67700fc2a5a38de1fb71b5b6f6046d841ff35abee2e0b0840a6291a312be184eb311baff5fef0ff6895b9a5f2253aed32fb06b819134f6bb9d531488a87ea2")]
11+
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("nanoFramework.System.Text, PublicKey=00240000048000009400000006020000002400005253413100040000010001001120aa3e809b3da4f65e1b1f65c0a3a1bf6335c39860ca41acb3c48de278c6b63c5df38239ec1f2e32d58cb897c8c174a5f8e78a9c0b6087d3aef373d7d0f3d9be67700fc2a5a38de1fb71b5b6f6046d841ff35abee2e0b0840a6291a312be184eb311baff5fef0ff6895b9a5f2253aed32fb06b819134f6bb9d531488a87ea2")]

source/nanoFramework.CoreLibrary/System/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
[assembly: AssemblyProduct("nanoFramework mscorlib")]
1515
[assembly: AssemblyCopyright("Copyright © nanoFramework Contributors 2017")]
1616

17-
[assembly: AssemblyNativeVersion("100.4.5.0")]
17+
[assembly: AssemblyNativeVersion("100.4.6.0")]

source/nanoFramework.CoreLibrary/System/String.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ public extern char this[int index]
7878
get;
7979
}
8080

81+
internal char GetCharByIndex(int index)
82+
{
83+
return this[index];
84+
}
85+
8186
/// <summary>
8287
/// Copies the characters in this instance to a Unicode character array.
8388
/// </summary>

source/nanoFramework.CoreLibrary/System/Text/Decoder.cs

Lines changed: 0 additions & 31 deletions
This file was deleted.

source/nanoFramework.CoreLibrary/System/Text/Encoding.cs

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)