Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2003-02-07 20:55:29 +0300
committerMartin Baulig <martin@novell.com>2003-02-07 20:55:29 +0300
commit55abeb083ec3616ed8416566501f796154aa4683 (patch)
tree35084a27c0b4bb714edcf3d474591df21f01e646 /mcs/class/Mono.CSharp.Debugger/MonoSymbolTable.cs
parent9c32c4e70afb6279516e5b39ccabc2438dc084f4 (diff)
Cosmetic fixes.
svn path=/trunk/mcs/; revision=11322
Diffstat (limited to 'mcs/class/Mono.CSharp.Debugger/MonoSymbolTable.cs')
-rw-r--r--mcs/class/Mono.CSharp.Debugger/MonoSymbolTable.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/mcs/class/Mono.CSharp.Debugger/MonoSymbolTable.cs b/mcs/class/Mono.CSharp.Debugger/MonoSymbolTable.cs
index 532a9dc6593..b9e4e03bb85 100644
--- a/mcs/class/Mono.CSharp.Debugger/MonoSymbolTable.cs
+++ b/mcs/class/Mono.CSharp.Debugger/MonoSymbolTable.cs
@@ -380,8 +380,9 @@ namespace Mono.CSharp.Debugger
get { return full_name; }
}
- internal MethodEntry (MonoSymbolFile file, BinaryReader reader)
+ internal MethodEntry (MonoSymbolFile file, BinaryReader reader, int index)
{
+ this.index = index;
SourceFileIndex = reader.ReadInt32 ();
Token = reader.ReadInt32 ();
StartRow = reader.ReadInt32 ();
@@ -578,7 +579,7 @@ namespace Mono.CSharp.Debugger
public override string ToString ()
{
return String.Format ("[Method {0}:{1}:{2}:{3}:{4} - {7}:{8}:{9}:{10} - {5} - {6}]",
- SourceFileIndex, index, Token, StartRow, EndRow,
+ index, Token, SourceFileIndex, StartRow, EndRow,
SourceFile, FullName, ThisTypeIndex, NumParameters,
NumLocals, NumLineNumbers);
}