private static string EscapeWithQuotesIfNeeded(string name, string value) { if (name != "LIBRARY_SEARCH_PATHS") { return value; } if (!value.Contains(" ")) { return value; } if ((Enumerable.First<char>(value) == '"') && (Enumerable.Last<char>(value) == '"')) { return value; } return ("\"" + value + "\""); }
public void RemovePropertyValue(string name, string value) { if (!this.entries.ContainsKey(name)) { return; } this.entries[name].RemoveValue(XCBuildConfigurationData.EscapeWithQuotesIfNeeded(name, value)); }