예제 #1
0
파일: SourceFile.cs 프로젝트: Orvid/Cosmos
        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);
        }