File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
src/System.Management.Automation/engine Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,10 @@ static ExperimentalFeature()
120
120
description : "New formatting for ErrorRecord" ) ,
121
121
new ExperimentalFeature (
122
122
name : "PSUpdatesNotification" ,
123
- description : "Print notification message when new releases are available" )
123
+ description : "Print notification message when new releases are available" ) ,
124
+ new ExperimentalFeature (
125
+ name : "PSCoalescingOperators" ,
126
+ description : "Support the null coalescing operator and null coalescing assignment operator in PowerShell language" )
124
127
} ;
125
128
EngineExperimentalFeatures = new ReadOnlyCollection < ExperimentalFeature > ( engineFeatures ) ;
126
129
Original file line number Diff line number Diff line change @@ -279,9 +279,9 @@ internal static class CachedReflectionInfo
279
279
typeof ( InterpreterError ) . GetMethod ( nameof ( InterpreterError . NewInterpreterExceptionWithInnerException ) , StaticFlags ) ;
280
280
281
281
internal static readonly MethodInfo LanguagePrimitives_GetInvalidCastMessages =
282
- typeof ( LanguagePrimitives ) . GetMethod ( nameof ( LanguagePrimitives . GetInvalidCastMessages ) , StaticFlags ) ;
282
+ typeof ( LanguagePrimitives ) . GetMethod ( nameof ( LanguagePrimitives . GetInvalidCastMessages ) , staticFlags ) ;
283
283
internal static readonly MethodInfo LanguagePrimitives_IsNullLike =
284
- typeof ( LanguagePrimitives ) . GetMethod ( nameof ( LanguagePrimitives . IsNullLike ) , StaticPublicFlags ) ;
284
+ typeof ( LanguagePrimitives ) . GetMethod ( nameof ( LanguagePrimitives . IsNullLike ) , staticPublicFlags ) ;
285
285
internal static readonly MethodInfo LanguagePrimitives_ThrowInvalidCastException =
286
286
typeof ( LanguagePrimitives ) . GetMethod ( nameof ( LanguagePrimitives . ThrowInvalidCastException ) , StaticFlags ) ;
287
287
Original file line number Diff line number Diff line change @@ -1063,8 +1063,8 @@ public static class TokenTraits
1063
1063
/* Shr */ "-shr" ,
1064
1064
/* Colon */ ":" ,
1065
1065
/* QuestionMark */ "?" ,
1066
- /* Reserved slot 3 */ string . Empty ,
1067
- /* Reserved slot 4 */ string . Empty ,
1066
+ /* QuestionQuestionEquals */ "??=" ,
1067
+ /* QuestionQuestion */ "??" ,
1068
1068
/* Reserved slot 5 */ string . Empty ,
1069
1069
/* Reserved slot 6 */ string . Empty ,
1070
1070
/* Reserved slot 7 */ string . Empty ,
You can’t perform that action at this time.
0 commit comments