public FileLocation(string path, uint line, uint column, int begin, int end) { Path = new NormalizedFilePath(path); Line = line; Column = column; Begin = begin; End = end; }
public ExportSource(NormalizedFilePath path, string dll) { m_path = path; if (!string.IsNullOrEmpty(dll) && dll.ToLower().EndsWith(".dll")) { // remove extension dll = dll.Substring(0, dll.Length - 4); } Dll = dll; }
string GetDll(NormalizedFilePath path) { for (int i = 0; i < m_rootHeaders.Count; ++i) { if (m_rootHeaders[i].Equals(path)) { return(m_dllList[i]); } } return(default);