mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add [Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute] to list of patterns to remove for generated ref assembly (#16489)
This commit is contained in:
@@ -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 = @(
|
||||
|
||||
Reference in New Issue
Block a user