Skip to content

Instantly share code, notes, and snippets.

@controlflow
Created Jun 22, 2020
Embed
What would you like to do?
case IPredefinedTypeUsage predefinedTypeUsage:
return predefinedTypeUsage.Parent is IEnumBase
? null
: InspectPredefinedTypeUsage(predefinedTypeUsage, predefinedTypeUsage.ScalarPredefinedTypeName, boundSettingsStore);
case IPredefinedTypeUsage { Parent: not IEnumBase } predefinedTypeUsage:
return InspectPredefinedTypeUsage(predefinedTypeUsage, predefinedTypeUsage.ScalarPredefinedTypeName, boundSettingsStore);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment