public static void EnableFeatureExtract(ProcessorState state) { bool val = state.feature_extract_on_enable_.Value; Enable(ref val); state.feature_extract_on_enable_.Value = val; }