Skip to content

Commit e6a943b

Browse files
authored
Typo fix - update to Method Parameters - C# Reference article (#33259)
Change (The *ref_safe_to_escape* scope defines when a variable can *ref* assigned or *ref* reassigned.) to (... can be *ref* assigned or...).
1 parent d6947a3 commit e6a943b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/keywords/method-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Methods can store the values of parameters in fields. When parameters are passed
8686
- The *safe_to_escape* scope defines the scope where any expression can be safely accessed.
8787
- The *ref_safe_to_escape* scope defines the scope where a *reference* to any expression can be safely accessed or modified.
8888

89-
Informally, you can think of these scopes as the mechanism to ensure your code never accesses or modifies a reference that's no longer valid. A reference is valid as long as it refers to a valid object or struct. The *safe_to_escape* scope defines when a variable can be assigned or reassigned. The *ref_safe_to_escape* scope defines when a variable can *ref* assigned or *ref* reassigned. Assignment assigns a variable to a new value; *ref assignment* assigns the variable to *refer to* a different storage location.
89+
Informally, you can think of these scopes as the mechanism to ensure your code never accesses or modifies a reference that's no longer valid. A reference is valid as long as it refers to a valid object or struct. The *safe_to_escape* scope defines when a variable can be assigned or reassigned. The *ref_safe_to_escape* scope defines when a variable can be *ref* assigned or *ref* reassigned. Assignment assigns a variable to a new value; *ref assignment* assigns the variable to *refer to* a different storage location.
9090

9191
## Modifiers
9292

0 commit comments

Comments
 (0)