Skip to content

[Enc] Adding a constructor to a type with field/property initializers that contain lambdas #2504

@tmat

Description

@tmat

This is currently a rude edit. To support this scenario the implementation of DefinitionMap.TryCreateVariableSlotAllocator needs to fetch the EnC debug info from an existing constructor to which the existing field initializers are emitted.

See test EditAndContinueClosureTests.InsertConstructorInPresenceOfFieldInitializersWithLambdas

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions