Skip to content

Commit

Permalink
Track runtime feature flag (#5676)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpar authored Jan 24, 2022
1 parent 32338aa commit e683b32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proposals/low-level-struct-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,10 @@ struct S1
}
```

The `ref` fields feature requires runtime support and changes to the ECMA spec to allow the construct. As such these will only be enabled when the corresponding feature flag is set in corelib. The issue tracking the exact API is tracked here

https://github.com/dotnet/runtime/issues/64165

Detailed Notes:
- A `ref` field can only be declared inside of a `ref struct`
- A `ref` field cannot be declared `static`
Expand Down

0 comments on commit e683b32

Please sign in to comment.