Esempio n. 1
0
        public IMDbgSourceFile GetSourceFile(string path)
        {
            String s      = String.Intern(path);
            var    source = (MDbgSourceFile)m_sourceCache[s];

            if (source == null)
            {
                source = new MDbgSourceFile(s);
                m_sourceCache.Add(s, source);
            }
            return(source);
        }
Esempio n. 2
0
        public IMDbgSourceFile GetSourceFile(string path)
        {
            String s = String.Intern(path);
            var source = (MDbgSourceFile) m_sourceCache[s];

            if (source == null)
            {
                source = new MDbgSourceFile(s);
                m_sourceCache.Add(s, source);
            }
            return source;
        }