Skip to content

Typo in "Method Parameters" Documentation, at section "Combinations of parameter type and argument mode" #41628

@TeoPsycho

Description

@TeoPsycho

Type of issue

Typo

Description

In the third bullet of section "Combinations of parameter type and argument mode" (url = https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters#combinations-of-parameter-type-and-argument-mode) there is a typo: "aren't" should be "are". The corrected paragraph should be:

  • When you pass a value type by reference:
    • If the method assigns the parameter to refer to a different object, those changes ${\color{red}are}$ visible from the caller.
    • If the method modifies the state of the object referred to by the parameter, those changes are visible from the caller.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/keywords/method-parameters.md

Document Version Independent Id

7241f712-8d73-b5e0-37c0-5f05c92412c6

Article author

@BillWagner

Metadata

  • ID: b8dd92fe-5053-1bc6-1c8f-cf9f88635cb5
  • Service: dotnet-csharp
  • Sub-service: lang-reference

Associated WorkItem - 335969

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-csharp/svcin-prThis issue will be closed (fixed) by an active pull request.lang-reference/subsvcokr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions