private void TryRenameUsingSuggestions(VariableDefinition variable, RenameVariables.VariableSuggestion variableSuggestion) { V_0 = 0; while (true) { V_2 = variableSuggestion.get_SuggestedNames().GetEnumerator(); try { while (V_2.MoveNext()) { V_3 = V_2.get_Current(); if (!this.TryRenameVariable(variable, V_3, V_0)) { continue; } goto Label1; } } finally { if (V_2 != null) { V_2.Dispose(); } } if (this.TryRenameVariable(variable, this.GetNameByType(variable.get_VariableType()), V_0)) { goto Label0; } V_0 = V_0 + 1; } Label1: return; Label0: return; }