Skip to content

Commit

Permalink
Update SpecialVars.cs (PowerShell#1836)
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmeister committed Sep 22, 2022
1 parent 53be991 commit da2c918
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Engine/SpecialVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ internal class SpecialVars
internal const string Matches = "Matches";
internal const string PSVersionTable = "PSVersionTable";
internal const string OFS = "OFS";
internal const string FormatEnumerationLimit = "FormatEnumerationLimit";

internal static readonly string[] InitializedVariables;

Expand Down Expand Up @@ -59,8 +60,9 @@ static SpecialVars()
PSCommandPath,
ExecutionContext,
Matches,
PSVersionTable,
OFS
PSVersionTable,
OFS,
FormatEnumerationLimit,
};
internal static readonly Type[] AutomaticVariableTypes = new Type[]
{
Expand All @@ -76,7 +78,8 @@ static SpecialVars()
/* ExecutionContext */ typeof(EngineIntrinsics),
/* Matches */ typeof(System.Collections.Hashtable),
/* PSVersionTable */ typeof(System.Collections.Hashtable),
/* OFS */ typeof(object)
/* OFS */ typeof(object),
/* FormatEnumerationLimit */ typeof(int)
};


Expand Down

0 comments on commit da2c918

Please sign in to comment.