enum Field
Create a CheckedField for accessing an enum instance that has been annotated with ReferencedInGeneratedCode, failing if there is a problem.
Return
The CheckedField.
Parameters
T
The enum type.
enum Instance
The enum value.