4 ms·
C# used to have postconditions and verify them at compile time. But this has been deprecated :( I wish I knew why they removed it. https://learn.microsoft.com
by skyde 3y ago
C# used to have postconditions and verify them at compile time.
But this has been deprecated :(
I wish I knew why they removed it.
https://learn.microsoft.com/en-us/dotnet/framework/debug-trace-profile/code-contracts https://learn.microsoft.com/en-us/dotnet/framework/debug-tra...
- pjmlp 3y agoIt was only available on enterprise versions, and most likely Microsoft has concluded not enough people were paying for it, nor they wanted to keep it for free, porting them into modern .NET runtime.