You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In C#9, init only properties were introduced. It's now heavily used through record. We can consider those properties as immutable.
Unfortunately, this case is not detected through BeImmutable() function.
This feature is not available out of the box in .NET Standard 2.0, 2.1 nor Mono. There is an existing hack to make this feature available but I am worried about how it would behave as a Nuget package.
I would be happy to contribute if you have any proposition to guide me.
The text was updated successfully, but these errors were encountered:
In C#9, init only properties were introduced. It's now heavily used through record. We can consider those properties as immutable.
Unfortunately, this case is not detected through
BeImmutable()
function.This feature is not available out of the box in .NET Standard 2.0, 2.1 nor Mono. There is an existing hack to make this feature available but I am worried about how it would behave as a Nuget package.
I would be happy to contribute if you have any proposition to guide me.
The text was updated successfully, but these errors were encountered: