Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
description: Use the same pattern when defining parameters.
ms.date: 03/20/2026
ms.topic: reference
Expand Down Expand Up @@ -55,7 +56,7 @@ function g {
When the rule sets parameters definition kind to `ParamBlock`:

```powershell
# Inorrect
# Incorrect
function f([Parameter()]$FirstParam) {
return
}
Expand Down
Loading