You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User has a function with a a parameter called, for this example, $PassedParam.
Inside the function, the $PassedParam is assigned with a new value.
This cause the type constrainment and the various Validate attributes checks to trigger again.
I propose a warning to suggest the user to treat parameters as read-only
What is the latest version of PSScriptAnalyzer at the point of writing
1.23.0
The text was updated successfully, but these errors were encountered:
Summary of the new feature
User has a function with a a parameter called, for this example,
$PassedParam
.Inside the function, the
$PassedParam
is assigned with a new value.This cause the type constrainment and the various Validate attributes checks to trigger again.
I propose a warning to suggest the user to treat parameters as read-only
What is the latest version of PSScriptAnalyzer at the point of writing
1.23.0
The text was updated successfully, but these errors were encountered: