Skip to content

Use ref readonly return statements – duplicity #27202

@deep-outcome

Description

@deep-outcome

Sentences

Notice that the readonly modifier must be part of the declaration of the variable. The reference to which it refers can't be modified. Attempts to do so result in a compile-time error.

are followed by new paragraph

The readonly modifier is required on the declaration of originReference.

which is in turn followed by next paragraph starting with

The compiler enforces that the caller can't modify the reference. . Attempts to assign the value directly generate a compile-time error.

It is duplicity actuating disturbance in comprehensive content of article.

I guess removing first quote and merging middle paragraph with next can be fine.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 54743

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.advanced-concepts/subsvcdotnet-csharp/svcokr-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