Exemplo 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);
        }
Exemplo 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;
        }