Rename LifetimeAnnotationAttribute
to ScopedRefAttribute
and remove unnecessary members
#62838
Labels
Milestone
The
LifetimeAnnotationAttribute
synthesized by the compiler forscoped
should be renamed to align with the corresponding runtime attribute for unscoped (see dotnet/runtime#72074).And the
IsRefScoped
andIsValueScoped
properties are unnecessary and can be removed because that can be determined based on whether the parameter is passed by reference or by value.The updated synthesized attribute API:
Spec change: dotnet/csharplang#6325
The text was updated successfully, but these errors were encountered: