Пример #1
0
        public SourceFileEntry CreateSymbolInfo(MonoSymbolFile symwriter)
        {
            if (hidden_lines != null)
            {
                hidden_lines.Sort();
            }

            file = new SourceFileEntry(symwriter, FullPathName, algGuid, checksum);
            if (AutoGenerated)
            {
                file.SetAutoGenerated();
            }

            return(file);
        }
Пример #2
0
 public virtual void DefineSymbolInfo(MonoSymbolWriter symwriter)
 {
     if (guid != null)
     {
         file = symwriter.DefineDocument(FullPathName, guid, checksum);
     }
     else
     {
         file = symwriter.DefineDocument(FullPathName);
         if (AutoGenerated)
         {
             file.SetAutoGenerated();
         }
     }
 }
Пример #3
0
        public SourceFileEntry CreateSymbolInfo(MonoSymbolFile symwriter, List <KeyValuePair <string, string> > pathMap)
        {
            if (hidden_lines != null)
            {
                hidden_lines.Sort();
            }

            file = new SourceFileEntry(symwriter, GetFullPathName(pathMap), OriginalFullPathName, algGuid, checksum);
            if (AutoGenerated)
            {
                file.SetAutoGenerated();
            }

            return(file);
        }
Пример #4
0
        public SourceFileEntry CreateSymbolInfo(MonoSymbolWriter symwriter)
        {
            if (hidden_lines != null)
            {
                hidden_lines.Sort();
            }

            if (guid != null)
            {
                file = symwriter.DefineDocument(FullPathName, guid, checksum);
            }
            else
            {
                file = symwriter.DefineDocument(FullPathName);
                if (AutoGenerated)
                {
                    file.SetAutoGenerated();
                }
            }

            return(file);
        }