private string GenerateUniqueFieldName() { int num = FieldDefinitions.Count; string text; while (true) { text = num.ToString(CultureInfo.InvariantCulture); if (FieldDefinitions.GetByName(text) == null) { break; } num++; } return(text); }