Disallow RequiresLocationAttribute
in more places in source?
#70011
Labels
Milestone
RequiresLocationAttribute
in more places in source?
#70011
Currently, it is an error if user applies
RequiresLocationAttribute
to a parameter, but it's not an error if user applies it at other places. This is consistent with for exampleParamArrayAttribute
, but not with for exampleIsByRefLikeAttribute
.@AlekseyTs says in #68871 (comment):
Example:
SharpLab
The text was updated successfully, but these errors were encountered: