示例#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);
        }
示例#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;
        }