Skip to content

Commit 1db82fb

Browse files
surfingoldelephantsdwheeler
authored andcommitted
Remove invalid types from v5.1's core type list
The types removed from the core types list (permitted in ConstrainedLanguage mode) are only applicable to PS v6+, so are removed from the Windows PowerShell v5.1 document. Unlike in later versions, [ordered] is not a type (accelerator) in v5.1.
1 parent 04a42a9 commit 1db82fb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Language_Modes.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ Allowed Types:
230230
- `[AllowEmptyString]`
231231
- `[AllowNull]`
232232
- `[ArgumentCompleter]`
233-
- `[ArgumentCompletions]`
234233
- `[array]`
235234
- `[bigint]`
236235
- `[bool]`
@@ -249,9 +248,6 @@ Allowed Types:
249248
- `[DscLocalConfigurationManager]`
250249
- `[DscProperty]`
251250
- `[DscResource]`
252-
- `[ExperimentAction]`
253-
- `[Experimental]`
254-
- `[ExperimentalFeature]`
255251
- `[float]`
256252
- `[guid]`
257253
- `[hashtable]`
@@ -267,7 +263,6 @@ Allowed Types:
267263
- `[NullString]`
268264
- `[Object[]]`
269265
- `[ObjectSecurity]`
270-
- `[ordered]`
271266
- `[OutputType]`
272267
- `[Parameter]`
273268
- `[PhysicalAddress]`
@@ -282,20 +277,15 @@ Allowed Types:
282277
- `[regex]`
283278
- `[sbyte]`
284279
- `[securestring]`
285-
- `[semver]`
286-
- `[short]`
287280
- `[single]`
288281
- `[string]`
289282
- `[SupportsWildcards]`
290283
- `[switch]`
291284
- `[timespan]`
292-
- `[uint]`
293285
- `[uint16]`
294286
- `[uint32]`
295287
- `[uint64]`
296-
- `[ulong]`
297288
- `[uri]`
298-
- `[ushort]`
299289
- `[ValidateCount]`
300290
- `[ValidateDrive]`
301291
- `[ValidateLength]`

0 commit comments

Comments
 (0)