// Miguel de Icaza
// Atsushi Enomoto <atsushi@ximian.com>
//
-// (C) 2001 Ximian, Inc.
-// (C) 2005 Novell, Inc.
+// Copyright 2001 Ximian, Inc.
+// Copyright 2005 Novell, Inc.
//
using System;
public readonly string Path;
public readonly int Index;
public SourceFileEntry SourceFileEntry;
- public bool HasLineDirective;
public SourceFile (string name, string path, int index)
{
// </remarks>
static public SourceFile LookupFile (string name)
{
- string path = name.Length == 0 ? "" : Path.GetFullPath (name);
+ string path = name.Length == 0 ? string.Empty : Path.GetFullPath (name);
if (!source_files.Contains (path)) {
if (source_count >= (1 << checkpoint_bits))
// and code generation to register all the source files with the
// symbol writer.
// </remarks>
- static public void DefineSymbolDocuments (SymbolWriter symwriter)
+ static public void DefineSymbolDocuments (MonoSymbolWriter symwriter)
{
foreach (SourceFile file in source_list) {
file.SourceFileEntry = symwriter.DefineDocument (file.Path);
}
checkpoints [checkpoint_index] = new Checkpoint (file, row);
}
-
+
public override string ToString ()
{
if (column_bits == 0 || InEmacs)
- return Name + "(" + Row + "):";
+ return Name + "(" + Row.ToString () + "):";
else
- return Name + "(" + Row + "," + Column +
+ return Name + "(" + Row.ToString () + "," + Column.ToString () +
(Column == column_mask ? "+):" : "):");
}