-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Plan: ref readonly #68056
Labels
Milestone
Comments
dotnet-issue-labeler
bot
added
the
untriaged
Issues and PRs which have not yet been triaged by a lead
label
May 2, 2023
jcouv
removed
the
untriaged
Issues and PRs which have not yet been triaged by a lead
label
May 2, 2023
This was referenced May 4, 2023
jjonescz
added
the
New Feature - Ref Readonly Parameters
`ref readonly` parameters
label
May 11, 2023
This was referenced May 17, 2023
This was referenced Jun 30, 2023
Merged
This was referenced Jul 10, 2023
This was referenced Jul 18, 2023
This was referenced Jul 25, 2023
This was referenced Aug 9, 2023
This was referenced Jan 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Proposal: dotnet/csharplang#6010
Speclet: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-12.0/ref-readonly-parameters.md
Compiler
in
but not forref readonly
)ref readonly
in dynamic invocationref readonly
RefReadonlyTests
parsing tests)modreq
, attributesref readonly
in combination with various attributes[IsReadOnly]
(generally disallowed in source, seeManuallyAppliedAttributes_IsReadOnly
)[In]
,[Out]
(seeManuallyAppliedAttributes_InOut
)[RequiresLocation]
(disallow in source, seeManuallyAppliedAttribute
; hide on symbols)[RequiresLocation]
(seeReturnParameter
)this
parameter (seeRefReadonlyWithThis_*
)ref
argument onin
parameterMethodGroupComparer_*
)PartialMembers_*
)Invocation_*
,RefReadonlyParameter_Indexer_*
)ref
)this
parameter for extension methods)RefKind
RefKind
on symbolscoped
,UnscopedRef
General
RequiresLocationAttribute
to BCL (tracked by [API Proposal]: RequiresLocationAttribute (supporting ref readonly parameters) runtime#85910)in
. Override in VB should be disallowedRefKind.In
and check ifRefKind.RefReadonlyParameter
needs to be handled there as wellIDE
scoped
,readonly
completionThe text was updated successfully, but these errors were encountered: