Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
ff71e39
Init commit
iSazonov Oct 26, 2018
8ba8581
Add SimpleFoldedStringComparerTests (come from CoreFX)
iSazonov Nov 7, 2018
c6f23a9
Add new test files from CoreFX and move files in Unicode folder
iSazonov Nov 8, 2018
62e88df
Add tests for comparer
iSazonov Nov 8, 2018
7a64a26
Add GetHashCode() in comparer
iSazonov Nov 8, 2018
1dd98a0
Add GetHashCode NotEqual tests
iSazonov Nov 9, 2018
2430fdd
Make Fold() method private
iSazonov Nov 9, 2018
661dcf0
Fix comment
iSazonov Nov 9, 2018
c3c322f
Add UnicodeData.11.0.txt
iSazonov Nov 9, 2018
fe9c1ec
Auto accept minor
iSazonov Nov 9, 2018
c5298ae
Add IndexOfFolded tests
iSazonov Nov 9, 2018
f273aa3
Add IndexOfFolded() for ReadOnlySpan<char>
iSazonov Nov 9, 2018
7ff9ec2
Update IndexOfFolded() for string
iSazonov Nov 9, 2018
d9ebeb8
Add tests for IndexOfFolded() span
iSazonov Nov 9, 2018
438a3d0
Load UnicodeData.11.0.txt and CaseFolding.txt
iSazonov Nov 9, 2018
93c666f
Add Fold_Char test
iSazonov Nov 9, 2018
b958159
Rename test files and classes
iSazonov Nov 9, 2018
55c0225
Add Fold_String_Span test
iSazonov Nov 9, 2018
264866f
Add string and span fold tests
iSazonov Nov 12, 2018
9f912a9
Rename test namespace
iSazonov Nov 12, 2018
a7a736e
Rename methods
iSazonov Dec 3, 2018
da24bbf
Update perf tests
iSazonov Dec 4, 2018
96abbf1
Improve comparer
iSazonov Dec 6, 2018
edc7479
Rename folder
iSazonov Dec 21, 2018
be3293f
Move gen tools to new folder
iSazonov Dec 21, 2018
0f53178
Add tools, tests and tests for demo
iSazonov Dec 21, 2018
0edc80c
Use 2level cache in engine
iSazonov Dec 21, 2018
803c8e3
Fix style issues in CharTests
iSazonov Dec 22, 2018
23cec2a
Fix test: allows System.Security.Cryptography.Algorithms.dll
iSazonov Dec 24, 2018
c734f45
Fix names in tests
iSazonov Dec 26, 2018
a4de39a
Fix SimpleCaseFold()
iSazonov Dec 26, 2018
33b750b
Fix SimpleCaseFoldingG2()
iSazonov Dec 26, 2018
5bae607
Rename benchmark folder
iSazonov Dec 26, 2018
e2b6a89
Enable performance test
iSazonov Dec 26, 2018
94e2bee
Fix SimpleCaseFold() method
iSazonov Dec 27, 2018
a03ec72
Fix CompareUsingSimpleCaseFolding
iSazonov Dec 29, 2018
fc8fdad
Update tests
iSazonov Dec 29, 2018
0fc2d4e
Optimize on in csproj
iSazonov Dec 29, 2018
53088ce
Improve comparer
iSazonov Dec 29, 2018
e44d012
Update benchmark test
iSazonov Dec 29, 2018
a4cf807
Fix style issues
iSazonov Dec 29, 2018
c56fe88
Remove namespace prefixes
iSazonov Dec 29, 2018
e470871
Test on Unix expected loading 'System.Runtime.CompilerServices.Unsafe…
iSazonov Dec 29, 2018
621c99a
Refactor csprojs of xUnit tests
iSazonov Dec 29, 2018
57873c6
Step to run all xUnit tests
iSazonov Dec 29, 2018
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: 4 additions & 0 deletions src/System.Management.Automation/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@
#if NOT_SIGNED
// These attributes aren't every used, it's just a hack to get VS to not complain
// about access when editing using the project files that don't actually build.
[assembly: InternalsVisibleTo(@"powershell-perf-tests")]
[assembly: InternalsVisibleTo(@"powershell-xunit-tests")]
[assembly: InternalsVisibleTo(@"Microsoft.PowerShell.Commands.Utility")]
[assembly: InternalsVisibleTo(@"Microsoft.PowerShell.Commands.Management")]
[assembly: InternalsVisibleTo(@"Microsoft.PowerShell.Security")]
[assembly: InternalsVisibleTo(@"System.Management.Automation.Remoting")]
[assembly: InternalsVisibleTo(@"Export-Command")]
[assembly: InternalsVisibleTo(@"Microsoft.PowerShell.ConsoleHost")]
#else
[assembly: InternalsVisibleTo(@"powershell-perf-tests" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
[assembly: InternalsVisibleTo(@"powershell-xunit-tests" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
[assembly: InternalsVisibleTo(@"Microsoft.PowerShell.Commands.Utility" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
[assembly: InternalsVisibleTo(@"Microsoft.PowerShell.Commands.Management" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
[assembly: InternalsVisibleTo(@"Microsoft.PowerShell.Security" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
Expand Down
2 changes: 1 addition & 1 deletion src/System.Management.Automation/engine/MshMemberInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3941,7 +3941,7 @@ private OrderedDictionary Members
{
if (_members == null)
{
System.Threading.Interlocked.CompareExchange(ref _members, new OrderedDictionary(StringComparer.OrdinalIgnoreCase), null);
System.Threading.Interlocked.CompareExchange(ref _members, new OrderedDictionary(new System.Management.Automation.Unicode.StringComparerUsingSimpleCaseFolding()), null);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only place of new code injection.

}

return _members;
Expand Down
356 changes: 356 additions & 0 deletions src/System.Management.Automation/utils/unicode/CaseFolding-g2.cs

Large diffs are not rendered by default.

Loading