File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
src/System.Management.Automation/engine/parser
test/powershell/Language/Parser Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 4
4
using System . Collections ;
5
5
using System . Collections . Concurrent ;
6
6
using System . Collections . Generic ;
7
+ using System . Collections . Specialized ;
7
8
#if ! UNIX
8
9
using System . DirectoryServices ;
9
10
#endif
@@ -753,6 +754,7 @@ internal static class CoreTypes
753
754
{ typeof ( OutputTypeAttribute ) , new [ ] { "OutputType" } } ,
754
755
{ typeof ( object [ ] ) , null } ,
755
756
{ typeof ( ObjectSecurity ) , new [ ] { "ObjectSecurity" } } ,
757
+ { typeof ( OrderedDictionary ) , new [ ] { "ordered" } } ,
756
758
{ typeof ( ParameterAttribute ) , new [ ] { "Parameter" } } ,
757
759
{ typeof ( PhysicalAddress ) , new [ ] { "PhysicalAddress" } } ,
758
760
{ typeof ( PSCredential ) , new [ ] { "pscredential" } } ,
Original file line number Diff line number Diff line change @@ -400,17 +400,21 @@ Describe "Type accelerators" -Tags "CI" {
400
400
}
401
401
@ {
402
402
Accelerator = ' pspropertyexpression'
403
- Type = [Microsoft.PowerShell.Commands.PSPropertyExpression ]
403
+ Type = [Microsoft.PowerShell.Commands.PSPropertyExpression ]
404
+ }
405
+ @ {
406
+ Accelerator = ' ordered'
407
+ Type = [System.Collections.Specialized.OrderedDictionary ]
404
408
}
405
409
)
406
410
407
411
if ( ! $IsWindows )
408
412
{
409
- $totalAccelerators = 99
413
+ $totalAccelerators = 100
410
414
}
411
415
else
412
416
{
413
- $totalAccelerators = 104
417
+ $totalAccelerators = 105
414
418
415
419
$extraFullPSAcceleratorTestCases = @ (
416
420
@ {
You can’t perform that action at this time.
0 commit comments