Add Lazy<T>(T value) ctor to ref#10129
Conversation
Also added a theory test.
|
This will prevent the contract from being used with all existing versions of desktop. I'm not sure we're prepared to do that yet. |
Agreed. We cannot put this API into System.Runtime yet, for the next version of System.Runtime we plan to expose a bunch more APIs that already exist on the desktop framework so we need to be sure we don't have any new APIs that aren't there yet. Once we get to a stable point there we can add APIs that don't exist on desktop yet. |
|
Thanks, @jasonwilliams200OK. Per the previous comments, I'm going to close this out for now. If there isn't an issue currently tracking this, please feel free to open one, though it sounds like there already is. |
Also added a theory test.
Depends upon dotnet/coreclr#6304.
Related to #10127 and #2578.