Skip to content

C# ref local and returns are not allowed on async methods #1803

Closed
@BillWagner

Description

@BillWagner

This follows the same logic as why ref and out arguments are not allowed on async methods, but we should state it explicitly in the "what's new in C# 7" topic, and where we describe the ref keyword.

/cc @rpetrusha

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions