Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tmat opened this issue May 5, 2015 · 0 comments

Comments

@tmat
Copy link
Member

tmat commented May 5, 2015

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

@tmat tmat added this to the 1.1 milestone May 5, 2015
@tmat tmat changed the title [Enc] Adding a constructor to a class with field initializers that contain lambdas [Enc] Adding a constructor to a class with field/propery initializers that contain lambdas May 5, 2015
@tmat tmat changed the title [Enc] Adding a constructor to a class with field/propery initializers that contain lambdas [Enc] Adding a constructor to a type with field/propery initializers that contain lambdas May 5, 2015
@wschae wschae changed the title [Enc] Adding a constructor to a type with field/propery initializers that contain lambdas [Enc] Adding a constructor to a type with field/property initializers that contain lambdas Jul 6, 2015
@ManishJayaswal ManishJayaswal modified the milestones: 1.2, 1.1 Aug 3, 2015
@ManishJayaswal ManishJayaswal modified the milestones: 1.2, 1.3 Jan 27, 2016
@ManishJayaswal ManishJayaswal modified the milestones: 1.3, 2.1 Jul 15, 2016
@jinujoseph jinujoseph modified the milestones: 15.1, 15.later May 22, 2017
@jinujoseph jinujoseph modified the milestones: 15.6, Unknown Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants