示例#1
0
 public FileLocation(string path, uint line, uint column, int begin, int end)
 {
     Path   = new NormalizedFilePath(path);
     Line   = line;
     Column = column;
     Begin  = begin;
     End    = end;
 }
示例#2
0
 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;
 }
示例#3
0
        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);