Skip to content

Instantly share code, notes, and snippets.

@controlflow
Last active December 21, 2020 13:33
Embed
What would you like to do?
case IProperty {IsAuto: false, IsStatic: false} autoProperty
when !autoProperty.CanBeOverridden()
&& (autoProperty.Setter == null || autoProperty.Setter.IsInitOnly):
case IProperty {IsAuto: false, IsStatic: false, Setter: null or {IsInitOnly: true}} autoProperty
when !autoProperty.CanBeOverridden():
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment