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

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

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