Last active
December 21, 2020 13:33
-
-
Save controlflow/9fac2ee6b3c81fe746afbb85b6cf300f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case IProperty {IsAuto: false, IsStatic: false} autoProperty | |
when !autoProperty.CanBeOverridden() | |
&& (autoProperty.Setter == null || autoProperty.Setter.IsInitOnly): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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