Add [Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute] to list of patterns to remove for generated ref assembly (#16489)

This commit is contained in:
Steve Lee
2021-11-19 15:30:25 -08:00
committed by GitHub
parent fd4117e145
commit a8e3183540
+1
View File
@@ -2291,6 +2291,7 @@ function CleanupGeneratedSourceCode
'[System.Runtime.CompilerServices.NullableAttribute((byte)0)]'
'[System.Runtime.CompilerServices.NullableAttribute(new byte[]{ (byte)2, (byte)1, (byte)1})]'
'[System.Runtime.CompilerServices.AsyncStateMachineAttribute'
'[Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute]'
)
$patternsToReplace = @(