Skip to content

[mono] Hot Reload: support adding instance fields #63643

Closed
@lambdageek

Description

@lambdageek

There are two separate ideas here:

  1. To implement the AddInstanceFieldToExistingType EnC capability, we need to be able to hang new instance variables on existing classes (a prototype of the managed part is in Mono.HotReload.InstanceFieldTable in CoreLib).
  2. Implement adding instance fields to newly-added classes. This is part of the NewTypeDefinition capability. Here we would like to allocate the storage for the new instance fields in the newly laid out class. This is done in [mono] Hot Reload: support for reloadable types #66749

Contributes to #57365


Related issues:

Metadata

Metadata

Assignees

Labels

area-EnC-monoHot Reload for WebAssembly, iOS/Android, etc

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions