The implementation of unsafe optimization implies accessing fields on first use, create the local variables and let the optimization method to do its work.
Allowing the use of fields while unsafe in the general case (because of multithreading) should be allowed via the use of an attribute.
The implementation of unsafe optimization implies accessing fields on first use, create the local variables and let the optimization method to do its work.
Allowing the use of fields while unsafe in the general case (because of multithreading) should be allowed via the use of an attribute.