Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions reference/5.1/Microsoft.PowerShell.Core/About/about_Ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ A reference type variable is created using
Even though `[ref]` is a type accelerator for
`[System.Management.Automation.PSReference]`, they behave differently.

- When you use `[ref]` to cast a variable, PowerShell creates reference object
that contains reference to the original instance of the variable.
- When you use `[ref]` to cast a variable, PowerShell creates a reference object
that contains a reference to the original instance of the variable.
- When you use `[System.Management.Automation.PSReference]` to cast a variable,
PowerShell creates reference object that contains a copy of the variable,
PowerShell creates a reference object that contains a copy of the variable,
rather than a reference to the original instance.

For example, the following script creates a variable `$x` and two reference
Expand Down
6 changes: 3 additions & 3 deletions reference/7.4/Microsoft.PowerShell.Core/About/about_Ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ A reference type variable is created using
Even though `[ref]` is a type accelerator for
`[System.Management.Automation.PSReference]`, they behave differently.

- When you use `[ref]` to cast a variable, PowerShell creates reference object
that contains reference to the original instance of the variable.
- When you use `[ref]` to cast a variable, PowerShell creates a reference object
that contains a reference to the original instance of the variable.
- When you use `[System.Management.Automation.PSReference]` to cast a variable,
PowerShell creates reference object that contains a copy of the variable,
PowerShell creates a reference object that contains a copy of the variable,
rather than a reference to the original instance.

For example, the following script creates a variable `$x` and two reference
Expand Down
6 changes: 3 additions & 3 deletions reference/7.5/Microsoft.PowerShell.Core/About/about_Ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ A reference type variable is created using
Even though `[ref]` is a type accelerator for
`[System.Management.Automation.PSReference]`, they behave differently.

- When you use `[ref]` to cast a variable, PowerShell creates reference object
that contains reference to the original instance of the variable.
- When you use `[ref]` to cast a variable, PowerShell creates a reference object
that contains a reference to the original instance of the variable.
- When you use `[System.Management.Automation.PSReference]` to cast a variable,
PowerShell creates reference object that contains a copy of the variable,
PowerShell creates a reference object that contains a copy of the variable,
rather than a reference to the original instance.

For example, the following script creates a variable `$x` and two reference
Expand Down