MonoDevelop.Projects.Formats.MSBuild.SlnFileFormat.ReadSolutionItemDependencies C# (CSharp) Method

ReadSolutionItemDependencies() private method

private ReadSolutionItemDependencies ( List lines ) : List
lines List
return List
		List<string> ReadSolutionItemDependencies (List<string> lines)
		{
			// Find a project section of type MonoDevelopProperties
			int start, end;
			if (!FindSection (lines, "ProjectDependencies", false, out start, out end))
				return null;

			var ids = new List<string> ();
			for (int n=start + 1; n < end; n++) {
				string line = lines [n];
				int i = line.IndexOf ('=');
				if (i != -1)
					ids.Add (line.Substring (0, i).Trim ());
			}

			// Remove the lines, since they have already been preocessed
			lines.RemoveRange (start, end - start + 1);
			return ids;
		}