Ref returns/locals + Local Methods -- No error on "ref void" local methods #8441
Labels
Area-Compilers
Bug
Feature - Local Functions
Local Functions
Feature - Ref Locals and Returns
Ref Locals and Returns
Verification Not Required
Milestone
Paste C# code:
Expected: The
ref void
local methodNoError
should be an error, probably with the same error code as theref void
member methodHasError
Actual: The
ref void
local method has no errors, and compilation completes successfullyThe text was updated successfully, but these errors were encountered: